Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 192.1 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8409, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00328/0.8441, allocations: 1.79 MB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.8462, allocations: 1.135 MB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.8463, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.8467, allocations: 51.73 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.847, allocations: 87.59 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.8477, allocations: 237.5 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.848, allocations: 139.6 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.8481, allocations: 17.11 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.8483, allocations: 63.77 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.8484, allocations: 67.73 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.8485, allocations: 8 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.8487, allocations: 75.88 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.8488, allocations: 43.84 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.8488, allocations: 63.59 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.8492, allocations: 197.9 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8492, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8492, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8492, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 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.0008917/0.8501, allocations: 0.496 MB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8501, allocations: 12.02 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.8502, allocations: 20.83 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.8507, allocations: 249 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.8507, allocations: 4.375 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.8507, allocations: 8.125 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.8509, allocations: 96.16 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.851, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.851, allocations: 4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.851, allocations: 4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.8511, allocations: 27.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.8517, allocations: 360.6 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.852, allocations: 82.66 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.8521, allocations: 32.84 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.8521, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.8523, allocations: 95.34 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.8523, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.00041/0.8527, allocations: 133.6 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.8528, allocations: 102.8 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.8531, allocations: 263 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.8531, allocations: 29.7 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.8532, allocations: 120.1 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.8533, allocations: 27.8 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.8533, allocations: 29.69 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.8535, allocations: 334.7 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.8536, allocations: 23.98 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.8537, allocations: 76.2 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.8539, allocations: 69.7 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8539, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002572/0.8541, allocations: 113.5 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8542, allocations: 8 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8542, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8542, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8543, allocations: 12 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8543, allocations: 3.938 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.8544, allocations: 15.88 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.8544, allocations: 8.031 kB / 1.281 GB, free: 13.34 MB / 0.9825 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.0001671/0.8545, allocations: 147.5 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.8546, allocations: 15.91 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.8549, allocations: 123.4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8549, allocations: 4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8549, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.8549, allocations: 3.938 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.8552, allocations: 217.6 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8552, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.8552, allocations: 11.94 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8552, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.8552, allocations: 3.984 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8552, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8552, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.8555, allocations: 149 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.8556, allocations: 92.95 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.8556, allocations: 12 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.8557, allocations: 0 / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.8558, allocations: 19.95 kB / 1.281 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.8558, allocations: 7.938 kB / 1.281 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002163/0.856, allocations: 199 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.856, allocations: 0 / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002732/0.8563, allocations: 28 kB / 1.282 GB, free: 12.22 MB / 0.9825 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.001665/0.8579, allocations: 435.8 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.8582, allocations: 63.97 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8582, allocations: 0 / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.8583, allocations: 35.91 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.8586, allocations: 36.33 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.8592, allocations: 306.5 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8596, allocations: 0.728 MB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.409e-05/0.8597, allocations: 25.38 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.8598, allocations: 19.42 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8598, allocations: 0 / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.006924/0.8667, allocations: 2.586 MB / 1.286 GB, free: 8.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.809285674709827]