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.00163/0.00163, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001927/0.001927, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.49 GB / 0.7959 GB, free: 35.43 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.002007/0.002007, allocations: 71.97 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4553, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003637/0.4589, allocations: 1.78 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4612, allocations: 1.121 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.4613, allocations: 7.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.462, allocations: 167.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.4624, allocations: 158.6 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.4628, allocations: 147.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.4631, allocations: 175.5 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.4632, allocations: 13.31 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4634, allocations: 75.69 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.4635, allocations: 83.66 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4635, allocations: 11.94 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.4637, allocations: 71.94 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.4638, allocations: 43.91 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.4638, allocations: 47.67 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.4642, allocations: 211.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.93 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.0008053/0.465, allocations: 434.8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.465, allocations: 11.97 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.4651, allocations: 24.78 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4654, allocations: 182.9 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4655, allocations: 8.375 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4655, allocations: 8.125 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4657, allocations: 73.66 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.4657, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4657, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.4657, allocations: 7.938 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4658, allocations: 43.91 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.4664, allocations: 292.3 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.4666, allocations: 70.67 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.4666, allocations: 40.78 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4667, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4668, allocations: 83.38 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.4668, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003752/0.4672, allocations: 149.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.4673, allocations: 55.41 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.4676, allocations: 279.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4676, allocations: 25.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4677, allocations: 116.1 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4678, allocations: 31.78 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.4678, allocations: 29.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.468, allocations: 342.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.4681, allocations: 27.98 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4682, allocations: 76.55 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4684, allocations: 77.67 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4684, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002375/0.4686, allocations: 129.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4686, allocations: 8.062 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4686, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4687, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.4687, allocations: 8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4688, allocations: 4.141 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.4688, allocations: 8.094 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4688, allocations: 15.88 kB / 1.334 GB, free: 10.12 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.0001468/0.469, allocations: 142.3 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.469, allocations: 19.86 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.4693, allocations: 131.1 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4693, allocations: 7.984 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4693, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4693, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4695, allocations: 165.1 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4695, allocations: 7.984 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.4696, allocations: 7.938 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4696, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4696, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4696, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4696, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4699, allocations: 164.8 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.4699, allocations: 15.91 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.4699, allocations: 4 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.47, allocations: 3.984 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.47, allocations: 7.984 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.4701, allocations: 7.984 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002207/0.4703, allocations: 204.6 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4703, allocations: 3.938 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002547/0.4705, allocations: 35.92 kB / 1.334 GB, free: 9.141 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.00168/0.4722, allocations: 448.6 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4724, allocations: 79.84 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4724, allocations: 0 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.4725, allocations: 43.91 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4728, allocations: 44.41 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.4734, allocations: 314.7 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4736, allocations: 118.6 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.558e-05/0.4736, allocations: 25.72 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.4737, allocations: 15.44 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4737, allocations: 0 / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of Templates: time 0.006803/0.4805, allocations: 2.512 MB / 1.338 GB, free: 5.723 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 -s gbode -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/jenkins1/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.135300742011168]