Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001188/0.001188, allocations: 109.4 kB / 16.41 MB, free: 6.504 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.001064/0.001064, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.583/2.583, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9406, 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.IntegerScalarReplicator): time 0.002342/0.943, allocations: 0.6596 MB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.9445, allocations: 0.835 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.9446, allocations: 3.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.9449, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.9449, allocations: 7.922 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.9451, allocations: 27.91 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9453, allocations: 27.98 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.9454, allocations: 12 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.9455, allocations: 19.86 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.9455, allocations: 15.92 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.9456, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.9456, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.9457, allocations: 11.97 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.9457, allocations: 11.94 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.9459, allocations: 43.81 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9459, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9459, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.9459, allocations: 0 / 1.21 GB, free: 11.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006043/0.9465, allocations: 351 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9465, allocations: 8.031 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.9466, allocations: 0.9375 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.9468, allocations: 172.3 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.9468, allocations: 8.359 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.9469, allocations: 8.375 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.9471, allocations: 70.16 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9471, allocations: 4.188 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.9471, allocations: 3.938 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9471, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.9474, allocations: 43.95 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.9478, allocations: 278.9 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.948, allocations: 46.48 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.9481, allocations: 20.91 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.9481, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.9481, allocations: 38.55 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9481, allocations: 4 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.9485, allocations: 89.48 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.9485, allocations: 55.41 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.9486, allocations: 105.8 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.9487, allocations: 29.64 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.9487, allocations: 84.17 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.9487, allocations: 8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.9488, allocations: 21.7 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.949, allocations: 314.8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.9491, allocations: 19.92 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.9492, allocations: 23.97 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.9493, allocations: 40.89 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9493, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.9496, allocations: 69.59 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9496, allocations: 8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9496, allocations: 0 / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9496, allocations: 3.984 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9497, allocations: 8 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.9497, allocations: 4.031 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.971e-05/0.9498, allocations: 19.83 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.9498, allocations: 0 / 1.212 GB, free: 9.812 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: 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.0001243/0.9499, allocations: 113.8 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.95, allocations: 3.984 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.95, allocations: 7.125 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.95, allocations: 0 / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.95, allocations: 0 / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.9501, allocations: 85.11 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.9501, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.9502, allocations: 11.92 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.9502, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002851/0.9505, allocations: 156.9 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002814/0.9508, allocations: 242.8 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.563e-05/0.9509, allocations: 27.91 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.951, allocations: 83.53 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of Backend: time 8.52e-07/0.951, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.9514, allocations: 102.4 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005388/0.952, allocations: 0.5803 MB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.002905/0.9549, allocations: 0.6994 MB / 1.214 GB, free: 7.613 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches