Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001375, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.00142/0.00142, allocations: 193.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.425/1.425, 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.716/2.716, allocations: 461.7 MB / 0.7353 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9854, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004209/0.9897, allocations: 1.777 MB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.9918, allocations: 1.091 MB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.992, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.9924, allocations: 59.67 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.9927, allocations: 83.61 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.9934, allocations: 230.6 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.9937, allocations: 143.6 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.9938, allocations: 25.09 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.994, allocations: 59.77 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.9941, allocations: 67.75 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.9942, allocations: 8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.9944, allocations: 75.88 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.9946, allocations: 35.84 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.697e-05/0.9947, allocations: 55.67 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.9951, allocations: 199.2 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9951, allocations: 4 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9951, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.9951, allocations: 0 / 1.212 GB, free: 9.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008539/0.996, allocations: 498.1 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.996, allocations: 12.03 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.9961, allocations: 12.75 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.9965, allocations: 248.9 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.9965, allocations: 4.375 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.9966, allocations: 12.12 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.9968, allocations: 104.1 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9968, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.9968, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.9969, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.997, allocations: 39.92 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.9975, allocations: 356.6 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.9978, allocations: 86.75 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.9978, allocations: 40.78 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.9979, allocations: 0 / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.9981, allocations: 83.38 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.9981, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.9984, allocations: 137.5 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.9985, allocations: 106.8 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.9988, allocations: 267.1 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.9988, allocations: 29.7 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.9989, allocations: 116.1 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.9989, allocations: 23.66 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.999, allocations: 25.7 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9991, allocations: 334.8 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.9992, allocations: 27.92 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.9993, allocations: 72.27 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.9994, allocations: 69.64 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9995, allocations: 0 / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002313/0.9997, allocations: 117.5 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9997, allocations: 4 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9997, allocations: 4.031 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9998, allocations: 4 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.9999, allocations: 11.94 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9999, allocations: 4 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.9999, allocations: 3.984 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1, allocations: 7.938 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001575/1, allocations: 141.8 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/1, allocations: 15.81 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/1, allocations: 17.58 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1, allocations: 4 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1, allocations: 7.938 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/1, allocations: 92.86 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/1, allocations: 7.938 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/1, allocations: 7.984 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/1, allocations: 8.031 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002642/1.001, allocations: 188.9 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003346/1.001, allocations: 295 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.724e-05/1.001, allocations: 35.97 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001711/1.001, allocations: 196.4 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of Backend: time 7.41e-07/1.001, allocations: 0 / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.003, allocations: 461.4 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000832/1.004, allocations: 0.7483 MB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.00652/1.01, allocations: 2.573 MB / 1.219 GB, free: 1.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches