Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001893/0.001893, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002551/0.002551, allocations: 207.1 kB / 22.24 MB, free: 5.258 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.828 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.294/3.294, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [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.00211/0.00211, allocations: 70.81 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004009/0.354, allocations: 1.781 MB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3564, allocations: 1.115 MB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3565, allocations: 4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.3573, allocations: 171.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.3578, allocations: 159.4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.3582, allocations: 147.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3585, allocations: 175.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3586, allocations: 9.312 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3588, allocations: 75.69 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3589, allocations: 83.66 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.359, allocations: 12 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3592, allocations: 63.95 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.3592, allocations: 51.77 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.109e-05/0.3593, allocations: 39.75 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.3597, allocations: 215 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3597, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3597, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3597, allocations: 0 / 1.33 GB, free: 13.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008779/0.3606, allocations: 430.9 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3607, allocations: 12.03 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.3607, allocations: 24.78 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3611, allocations: 182.9 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3611, allocations: 8.375 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3612, allocations: 4.125 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3613, allocations: 77.59 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3614, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3614, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3614, allocations: 4 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3615, allocations: 39.97 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.362, allocations: 296.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3622, allocations: 78.59 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3623, allocations: 28.84 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3623, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3625, allocations: 79.33 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3625, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003911/0.3629, allocations: 157.4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.363, allocations: 51.41 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.3634, allocations: 283.1 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3634, allocations: 25.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3635, allocations: 124.1 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3635, allocations: 19.8 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3636, allocations: 33.7 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3638, allocations: 334.8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.3638, allocations: 27.98 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.364, allocations: 84.19 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3641, allocations: 77.73 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3641, allocations: 11.97 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002379/0.3643, allocations: 117.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3644, allocations: 11.98 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3644, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3644, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.3645, allocations: 11.94 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3645, allocations: 4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.3645, allocations: 4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3645, allocations: 7.984 kB / 1.332 GB, free: 10.96 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0002134/0.3648, allocations: 154.3 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3648, allocations: 15.86 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.3651, allocations: 131 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3651, allocations: 4 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3651, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3651, allocations: 3.984 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3654, allocations: 169.1 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3654, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.3654, allocations: 7.984 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3654, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3654, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3654, allocations: 7.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3654, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3657, allocations: 156.8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3657, allocations: 19.91 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3657, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.3658, allocations: 11.97 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.3658, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3658, allocations: 11.98 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000218/0.3661, allocations: 200.6 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3661, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000259/0.3663, allocations: 35.92 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001744/0.3681, allocations: 448.2 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3683, allocations: 79.84 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3683, allocations: 0 / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.3684, allocations: 35.98 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3687, allocations: 41.06 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.3693, allocations: 330.7 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3695, allocations: 114.6 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.3695, allocations: 17.42 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.3696, allocations: 15.44 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3696, allocations: 4 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of Templates: time 0.006907/0.3765, allocations: 2.505 MB / 1.336 GB, free: 6.57 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.240378739312291]