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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001318/0.001318, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.9527, allocations: 173.7 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002602/0.9553, allocations: 1.781 MB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.9566, allocations: 1.136 MB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.9567, allocations: 0 / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.957, allocations: 60.12 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.9572, allocations: 83.05 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.9576, allocations: 227.8 kB / 1.309 GB, free: 31.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.9578, allocations: 148.2 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.9579, allocations: 22.2 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.958, allocations: 61.41 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.9581, allocations: 70.34 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.9581, allocations: 6 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.9582, allocations: 80.47 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.9583, allocations: 40.53 kB / 1.309 GB, free: 31.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.9583, allocations: 62.83 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.9585, allocations: 204.3 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.9585, allocations: 0 / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9585, allocations: 0 / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.9585, allocations: 0 / 1.309 GB, free: 30.97 MB / 1.061 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.0005353/0.9591, allocations: 498 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.9591, allocations: 11.66 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.9592, allocations: 14.59 kB / 1.31 GB, free: 30.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.9594, allocations: 266.4 kB / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.9594, allocations: 384 / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.9594, allocations: 11.06 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.9596, allocations: 95.61 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9596, allocations: 0 / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9596, allocations: 0 / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.9596, allocations: 2.812 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.9597, allocations: 39.41 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.9601, allocations: 346.5 kB / 1.311 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.9603, allocations: 82.48 kB / 1.311 GB, free: 29.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.9604, allocations: 30.34 kB / 1.311 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.9604, allocations: 0 / 1.311 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.9605, allocations: 92.75 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.9605, allocations: 3.406 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003063/0.9609, allocations: 139.8 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.9609, allocations: 105.7 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.9611, allocations: 257.7 kB / 1.311 GB, free: 29.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.9611, allocations: 28.61 kB / 1.311 GB, free: 29.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.9611, allocations: 123.6 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.9612, allocations: 26.66 kB / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.9612, allocations: 29.61 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.9612, allocations: 331 kB / 1.312 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.9613, allocations: 25.5 kB / 1.312 GB, free: 28.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.9614, allocations: 74.95 kB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.9615, allocations: 75.72 kB / 1.312 GB, free: 28.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9615, allocations: 0 / 1.312 GB, free: 28.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.9617, allocations: 109.7 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.9617, allocations: 8.828 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9617, allocations: 3.406 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9617, allocations: 0 / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.9618, allocations: 10.72 kB / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.9618, allocations: 0 / 1.312 GB, free: 28.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.9619, allocations: 21.67 kB / 1.312 GB, free: 28.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.9619, allocations: 2.562 kB / 1.312 GB, free: 28.67 MB / 1.061 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 8.264e-05/0.962, allocations: 140.1 kB / 1.312 GB, free: 28.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.962, allocations: 15.91 kB / 1.312 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.9622, allocations: 126.6 kB / 1.312 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9622, allocations: 6.281 kB / 1.312 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9622, allocations: 0 / 1.312 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9623, allocations: 7.938 kB / 1.312 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.9624, allocations: 222.1 kB / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9624, allocations: 0 / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.9624, allocations: 5.812 kB / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9624, allocations: 4.031 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.9624, allocations: 3.375 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9624, allocations: 2.844 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9624, allocations: 0 / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.9626, allocations: 148.8 kB / 1.313 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.9627, allocations: 102.3 kB / 1.313 GB, free: 28.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.9627, allocations: 2.906 kB / 1.313 GB, free: 28.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.9627, allocations: 6.781 kB / 1.313 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.9628, allocations: 10.38 kB / 1.313 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.9628, allocations: 6.906 kB / 1.313 GB, free: 28.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000128/0.9629, allocations: 197.9 kB / 1.313 GB, free: 27.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9629, allocations: 0 / 1.313 GB, free: 27.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002389/0.9632, allocations: 30.69 kB / 1.313 GB, free: 27.9 MB / 1.061 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.001458/0.9646, allocations: 432 kB / 1.313 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.9648, allocations: 67.17 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9648, allocations: 0 / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.9649, allocations: 26.81 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.9652, allocations: 39.36 kB / 1.314 GB, free: 27.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.9657, allocations: 306.2 kB / 1.314 GB, free: 27.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.9658, allocations: 0.7278 MB / 1.315 GB, free: 26.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.916e-05/0.9659, allocations: 18.27 kB / 1.315 GB, free: 26.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.9659, allocations: 22.03 kB / 1.315 GB, free: 26.76 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9659, allocations: 3.938 kB / 1.315 GB, free: 26.75 MB / 1.061 GB Notification: Performance of Templates: time 0.005274/0.9712, allocations: 2.569 MB / 1.317 GB, free: 26.5 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.87097911722958]