Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002208, allocations: 198.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.004/3.004, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7635, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002978/0.7666, allocations: 0.6599 MB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.7681, allocations: 0.8391 MB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.7682, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.7683, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.7684, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.7686, allocations: 15.92 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.7688, allocations: 35.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.7689, allocations: 11.97 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.7691, allocations: 11.94 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.7692, allocations: 19.92 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.7692, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.7692, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.7693, allocations: 11.98 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.7694, allocations: 27.84 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.7695, allocations: 31.89 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.7696, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.155e-06/0.7696, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7696, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007205/0.7703, allocations: 350.8 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.7704, allocations: 8.031 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.7704, allocations: 8.844 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.7707, allocations: 180.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.7708, allocations: 384 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.7708, allocations: 4.375 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.7711, allocations: 62.17 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7711, allocations: 192 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.7711, allocations: 7.922 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.7712, allocations: 11.98 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.7714, allocations: 43.95 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.772, allocations: 280.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.7723, allocations: 46.55 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.7724, allocations: 24.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.7724, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.7725, allocations: 30.56 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7725, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005694/0.7731, allocations: 93.58 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.7731, allocations: 55.39 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.7733, allocations: 97.86 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.7733, allocations: 29.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.7734, allocations: 95.97 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.7735, allocations: 3.906 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.7735, allocations: 13.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003064/0.7738, allocations: 322.9 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.774, allocations: 19.97 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.7741, allocations: 19.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.7744, allocations: 40.81 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7744, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003064/0.7747, allocations: 77.66 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7748, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7748, allocations: 256 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7748, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.775, allocations: 15.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.775, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.7751, allocations: 7.984 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7751, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.7754, allocations: 121.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.7755, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.7755, allocations: 7.125 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7755, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7755, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7755, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.7758, allocations: 173.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7758, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.7759, allocations: 15.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.776, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.776, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.776, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.776, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.7764, allocations: 179.3 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.7764, allocations: 77.11 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.7765, allocations: 32 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.7766, allocations: 15.92 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.7767, allocations: 8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.7767, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.7768, allocations: 83.27 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7768, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003827/0.7772, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.7774, allocations: 99.25 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.7777, allocations: 55.83 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7777, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.7778, allocations: 19.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.7782, allocations: 7.984 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.7788, allocations: 121.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.7793, allocations: 0.6807 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.7793, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.7794, allocations: 11.44 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.7794, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.004389/0.7838, allocations: 0.6182 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches