Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_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_10_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.001598/0.001598, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001767/0.001767, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.518/1.518, 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.607/2.607, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9912, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003413/0.9947, allocations: 1.767 MB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.9967, allocations: 1.096 MB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.9968, allocations: 3.938 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.9971, allocations: 55.73 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.9974, allocations: 83.66 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.9981, allocations: 226.5 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.9984, allocations: 151.6 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.9985, allocations: 25.09 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.9986, allocations: 59.77 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.9988, allocations: 71.75 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.9988, allocations: 4 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.999, allocations: 71.89 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.9991, allocations: 35.84 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.9991, allocations: 63.66 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.9995, allocations: 207.3 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9995, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9995, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.9995, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 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.0006857/1, allocations: 490.1 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1, allocations: 8.922 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/1, allocations: 20.75 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/1.001, allocations: 248.9 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.001, allocations: 12.22 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/1.001, allocations: 8.125 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/1.001, allocations: 84.23 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.001, allocations: 8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.001, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/1.001, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/1.001, allocations: 39.91 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/1.002, allocations: 348.7 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/1.002, allocations: 86.69 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/1.002, allocations: 40.78 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/1.002, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/1.002, allocations: 87.36 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/1.002, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003922/1.003, allocations: 145.6 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.003, allocations: 106.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/1.003, allocations: 263 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/1.003, allocations: 29.7 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/1.003, allocations: 112.1 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/1.003, allocations: 31.62 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/1.003, allocations: 21.72 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.003, allocations: 334.8 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/1.003, allocations: 27.98 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/1.004, allocations: 72.22 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.004, allocations: 73.62 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.004, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002537/1.004, allocations: 109.5 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.004, allocations: 4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.004, allocations: 0 / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.004, allocations: 8.031 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.004, allocations: 15.92 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.004, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/1.004, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.004, allocations: 11.94 kB / 1.174 GB, free: 12.9 MB / 0.9044 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.0001339/1.004, allocations: 137.8 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/1.004, allocations: 15.81 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/1.004, allocations: 21.42 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.004, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.005, allocations: 8 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/1.005, allocations: 104.8 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/1.005, allocations: 3.938 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/1.005, allocations: 7.984 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.005, allocations: 11.98 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002683/1.005, allocations: 180.9 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003148/1.005, allocations: 298.5 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.386e-05/1.005, allocations: 27.98 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001819/1.006, allocations: 200.5 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Backend: time 8.22e-07/1.006, allocations: 0 / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001477/1.007, allocations: 453.7 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008403/1.008, allocations: 0.7363 MB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.006461/1.014, allocations: 2.599 MB / 1.179 GB, free: 8.207 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches