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.001502/0.001502, allocations: 108.3 kB / 16.41 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9561, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002126/0.9582, allocations: 0.6603 MB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.9594, allocations: 0.8453 MB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.9595, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.9596, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.9597, allocations: 7.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.9599, allocations: 15.97 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.96, allocations: 35.91 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.9601, allocations: 8 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.9602, allocations: 15.92 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.9603, allocations: 27.91 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.9603, allocations: 0 / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.9603, allocations: 4 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.9604, allocations: 8 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.9604, allocations: 15.92 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.9606, allocations: 47.41 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.9606, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9606, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.9606, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 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.0005766/0.9612, allocations: 352.2 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.9612, allocations: 8.922 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.9613, allocations: 4.938 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.9615, allocations: 176.3 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.9615, allocations: 384 / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.9616, allocations: 4.375 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.9618, allocations: 62.22 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9618, allocations: 192 / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.9619, allocations: 7.938 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.9619, allocations: 4 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.9621, allocations: 51.89 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.9625, allocations: 272.8 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.9627, allocations: 46.48 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.9628, allocations: 32.84 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.9628, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.9629, allocations: 30.56 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9629, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004736/0.9633, allocations: 93.58 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.9634, allocations: 55.53 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.9635, allocations: 101.8 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.9635, allocations: 29.7 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.9636, allocations: 88.08 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.9636, allocations: 3.953 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.9637, allocations: 17.72 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.9639, allocations: 318.8 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.964, allocations: 23.92 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.9641, allocations: 15.98 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.9643, allocations: 48.81 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9643, allocations: 0 / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002244/0.9645, allocations: 65.66 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9645, allocations: 8.094 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9645, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9645, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.9647, allocations: 11.98 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9647, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.9648, allocations: 15.92 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.9648, allocations: 0 / 1.171 GB, free: 16 kB / 0.8887 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.0001764/0.9649, allocations: 121.7 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.965, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.965, allocations: 7.125 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.965, allocations: 3.984 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.965, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.9651, allocations: 77.11 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.9651, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.9652, allocations: 15.92 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.9652, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003108/0.9656, allocations: 156.9 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003279/0.9659, allocations: 238.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001054/0.966, allocations: 23.97 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.9661, allocations: 83.59 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Backend: time 6.52e-07/0.9661, allocations: 3.938 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.9665, allocations: 103.9 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005287/0.9671, allocations: 0.5766 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.004508/0.9716, allocations: 0.6976 MB / 1.173 GB, free: 13.81 MB / 0.9044 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/jenkins1/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