Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001294/0.001293, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9677/0.9692, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002061/0.9713, allocations: 0.64 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.9725, allocations: 0.8 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.9726, allocations: 0 / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.9728, allocations: 7.938 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.9728, allocations: 3.938 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.9729, allocations: 11.92 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.973, allocations: 20 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9731, allocations: 3.984 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.9732, allocations: 15.88 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.9732, allocations: 11.98 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.9733, allocations: 8 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.9733, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.9734, allocations: 15.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.9734, allocations: 15.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.9735, allocations: 23.89 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9735, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9735, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.9735, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004292/0.974, allocations: 343 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.974, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.974, allocations: 4.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.9742, allocations: 176.3 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.9742, allocations: 384 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.9743, allocations: 384 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.9745, allocations: 58.23 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.9745, allocations: 4.125 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9745, allocations: 11.92 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9745, allocations: 0 / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.9747, allocations: 39.95 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.9751, allocations: 276.9 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.9752, allocations: 34.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.9753, allocations: 20.91 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.9754, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.9754, allocations: 38.55 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.9754, allocations: 0 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003388/0.9757, allocations: 69.66 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.9758, allocations: 55.53 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.9759, allocations: 105.8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.9759, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.976, allocations: 94.16 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.976, allocations: 3.938 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.976, allocations: 13.7 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9762, allocations: 318.8 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.9762, allocations: 11.98 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.9763, allocations: 15.98 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.9765, allocations: 40.75 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9765, allocations: 3.938 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001973/0.9767, allocations: 65.58 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9767, allocations: 10.12 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9767, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9767, allocations: 3.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.9768, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9769, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.9769, allocations: 7.984 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9769, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.971e-05/0.977, allocations: 117.8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.977, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.9771, allocations: 11.12 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9771, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9771, allocations: 3.984 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.9771, allocations: 77.11 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.9771, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.9772, allocations: 4 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.9773, allocations: 7.922 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002448/0.9775, allocations: 144.9 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002601/0.9778, allocations: 234.7 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.657e-05/0.9779, allocations: 11.98 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.9779, allocations: 91.59 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of Backend: time 3.71e-07/0.9779, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.9784, allocations: 97.19 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005494/0.9789, allocations: 0.5647 MB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.002732/0.9817, allocations: 0.5049 MB / 1.213 GB, free: 8.035 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches