Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 217.3 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 62.91 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4011, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003431/0.4045, allocations: 1.786 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.4069, allocations: 1.189 MB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.407, allocations: 7.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.4073, allocations: 59.73 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.4077, allocations: 115.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.4084, allocations: 200.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.4086, allocations: 167.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4087, allocations: 13.64 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.4088, allocations: 67.75 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.409, allocations: 79.61 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.409, allocations: 8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.4092, allocations: 79.94 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.4093, allocations: 39.91 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.4093, allocations: 47.66 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.4097, allocations: 211.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4097, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4097, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4097, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 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.0007413/0.4104, allocations: 422.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4105, allocations: 11.97 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.4105, allocations: 16.84 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.411, allocations: 198.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.411, allocations: 4.375 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.411, allocations: 12.12 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.4113, allocations: 117 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4113, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4113, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4113, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.4115, allocations: 43.91 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.412, allocations: 288.4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.4122, allocations: 94.67 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.4123, allocations: 28.84 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4123, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.4126, allocations: 87.36 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000409/0.413, allocations: 149.5 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4131, allocations: 77.11 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.4134, allocations: 279.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4134, allocations: 29.69 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4135, allocations: 124.1 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4136, allocations: 23.78 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.4136, allocations: 29.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4138, allocations: 330.8 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4139, allocations: 27.98 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.414, allocations: 118.8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.4142, allocations: 73.62 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4142, allocations: 4 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002434/0.4145, allocations: 109.6 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4145, allocations: 7.938 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4145, allocations: 3.938 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4145, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4146, allocations: 19.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.4146, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.4147, allocations: 8.25 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4147, allocations: 7.984 kB / 1.334 GB, free: 10.03 MB / 1.029 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.0002346/0.415, allocations: 150.4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.415, allocations: 19.86 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.4153, allocations: 135 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4153, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4153, allocations: 3.984 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.4154, allocations: 15.84 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.4154, allocations: 11.94 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.4155, allocations: 4 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.4155, allocations: 7.984 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003178/0.4158, allocations: 196.9 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003915/0.4162, allocations: 302.6 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.224e-05/0.4163, allocations: 27.98 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002287/0.4165, allocations: 212.5 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4165, allocations: 0 / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.4187, allocations: 484.9 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of SimCode: time 0.001168/0.4199, allocations: 0.7583 MB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of Templates: time 0.007323/0.4272, allocations: 2.876 MB / 1.339 GB, free: 4.988 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.352737665998575]