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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.731 GB, free: 12.75 MB / 0.5919 GB [Timeout remaining time 87] 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=504,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=504,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 75.88 kB / 1.06 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8359, allocations: 160.7 MB / 1.217 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003385/0.8392, allocations: 1.786 MB / 1.218 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.8414, allocations: 1.111 MB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.8415, allocations: 1.125 kB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.8419, allocations: 62.94 kB / 1.219 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.8422, allocations: 78.95 kB / 1.22 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.8431, allocations: 226.5 kB / 1.22 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.8434, allocations: 141.8 kB / 1.22 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.8435, allocations: 15.89 kB / 1.22 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.8436, allocations: 68.89 kB / 1.22 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.8438, allocations: 68.55 kB / 1.22 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.8438, allocations: 10.72 kB / 1.22 GB, free: 1.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.8441, allocations: 68.92 kB / 1.22 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.8442, allocations: 50.48 kB / 1.22 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.8443, allocations: 55.89 kB / 1.22 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.8447, allocations: 201 kB / 1.22 GB, free: 1.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8447, allocations: 1.219 kB / 1.22 GB, free: 1.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.579e-06/0.8447, allocations: 3.984 kB / 1.22 GB, free: 1.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8447, allocations: 0 / 1.22 GB, free: 1.082 MB / 0.92 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.0008922/0.8456, allocations: 0.4914 MB / 1.221 GB, free: 0.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8457, allocations: 13.78 kB / 1.221 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.8457, allocations: 15.97 kB / 1.221 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.8462, allocations: 257.4 kB / 1.221 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8462, allocations: 1.594 kB / 1.221 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.8463, allocations: 7.469 kB / 1.221 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.8466, allocations: 99.22 kB / 1.221 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8466, allocations: 1.031 kB / 1.221 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.8466, allocations: 5.094 kB / 1.221 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.8466, allocations: 1.125 kB / 1.221 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.8468, allocations: 33.84 kB / 1.221 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.8476, allocations: 356.8 kB / 1.222 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.8479, allocations: 82.56 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.848, allocations: 34.09 kB / 1.222 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.8481, allocations: 1.125 kB / 1.222 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.8483, allocations: 87.81 kB / 1.222 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.8483, allocations: 0 / 1.222 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.8488, allocations: 136.5 kB / 1.222 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.8489, allocations: 107.9 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.8493, allocations: 264.7 kB / 1.222 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.8494, allocations: 35.11 kB / 1.222 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.8495, allocations: 112 kB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.8495, allocations: 30.77 kB / 1.222 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.8496, allocations: 23.09 kB / 1.222 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8498, allocations: 335.9 kB / 1.223 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.8499, allocations: 25.73 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.8501, allocations: 73.69 kB / 1.223 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.8503, allocations: 73.48 kB / 1.223 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8503, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003689/0.8507, allocations: 112.1 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8507, allocations: 6.062 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8507, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8507, allocations: 1.312 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.8508, allocations: 18.44 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8508, allocations: 8.984 kB / 1.223 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.8509, allocations: 7.219 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.851, allocations: 7.234 kB / 1.223 GB, free: 14.57 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.0002027/0.8512, allocations: 146.4 kB / 1.223 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.8512, allocations: 19.58 kB / 1.223 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.8516, allocations: 119.8 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.8516, allocations: 2.25 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8516, allocations: 4 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8516, allocations: 3.938 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.852, allocations: 223.3 kB / 1.224 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.852, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.852, allocations: 9.266 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.852, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.852, allocations: 2.219 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.852, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.852, allocations: 3.938 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.8524, allocations: 143.6 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8525, allocations: 103.3 kB / 1.224 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.8526, allocations: 1.062 kB / 1.224 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.8526, allocations: 6.391 kB / 1.224 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.8527, allocations: 8.156 kB / 1.224 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.8527, allocations: 11.2 kB / 1.224 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002842/0.853, allocations: 195.6 kB / 1.224 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.853, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004565/0.8535, allocations: 33.47 kB / 1.224 GB, free: 13.72 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002116/0.8556, allocations: 424.3 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.8559, allocations: 70.23 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8559, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.8561, allocations: 34.86 kB / 1.225 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.8565, allocations: 39.89 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.8573, allocations: 328.8 kB / 1.225 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.8578, allocations: 0.7227 MB / 1.226 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.8578, allocations: 21.5 kB / 1.226 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.8578, allocations: 1.25 kB / 1.226 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.006861/0.8647, allocations: 2.615 MB / 1.228 GB, free: 11.13 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches