Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001652/0.001652, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001908/0.001908, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.06 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.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_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8682, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003514/0.8717, allocations: 1.804 MB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.8736, allocations: 1.05 MB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.8737, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.8745, allocations: 163.5 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.8748, allocations: 115.6 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.8754, allocations: 170.6 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.8757, allocations: 167.5 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.8758, allocations: 25.09 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.8759, allocations: 67.77 kB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.8761, allocations: 79.67 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.8761, allocations: 8 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.8763, allocations: 55.95 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.8764, allocations: 43.84 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.697e-05/0.8765, allocations: 63.55 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.8768, allocations: 205.9 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8768, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8768, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.8769, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 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.0009173/0.8778, allocations: 0.4961 MB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8778, allocations: 8.031 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.8779, allocations: 16.84 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.8783, allocations: 252.9 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.8783, allocations: 4.375 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.8783, allocations: 7.938 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.8785, allocations: 87.38 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8785, allocations: 7.938 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.8785, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.8785, allocations: 3.938 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.813e-05/0.8786, allocations: 39.97 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.8792, allocations: 348.7 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.8794, allocations: 74.61 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.8795, allocations: 28.84 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.8795, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.8797, allocations: 83.36 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.8797, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003673/0.8801, allocations: 141.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.8801, allocations: 85.11 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.8804, allocations: 262.9 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.8805, allocations: 29.7 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.8805, allocations: 120.2 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.8806, allocations: 27.78 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.8806, allocations: 29.7 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8808, allocations: 326.8 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.8809, allocations: 31.92 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.881, allocations: 55.42 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.8811, allocations: 78.05 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8811, allocations: 0 / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002082/0.8813, allocations: 113.5 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8813, allocations: 11.98 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8813, allocations: 4.062 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8813, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.8814, allocations: 11.94 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8814, allocations: 4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.8815, allocations: 19.83 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.8815, allocations: 0 / 1.281 GB, free: 13.46 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: 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.0001483/0.8816, allocations: 154.3 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.8817, allocations: 15.91 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.8819, allocations: 123 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.882, allocations: 4 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.882, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.882, allocations: 3.938 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.8822, allocations: 221.6 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8822, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.8822, allocations: 4 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.8822, allocations: 3.984 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8822, allocations: 7.984 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8822, allocations: 0 / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8822, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.8825, allocations: 148.8 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.8826, allocations: 100.9 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.8826, allocations: 4 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.8827, allocations: 4 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.8827, allocations: 11.92 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.8827, allocations: 3.938 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002028/0.8829, allocations: 199 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8829, allocations: 0 / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002455/0.8832, allocations: 31.92 kB / 1.282 GB, free: 12.33 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: 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 (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.001666/0.8848, allocations: 424.6 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.8851, allocations: 71.95 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8851, allocations: 0 / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.8852, allocations: 39.98 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.8855, allocations: 39.61 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.8861, allocations: 302.7 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.8866, allocations: 0.7278 MB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.8866, allocations: 21.42 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.8867, allocations: 23.38 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8867, allocations: 0 / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.00649/0.8932, allocations: 2.32 MB / 1.286 GB, free: 8.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.74286955408752]