Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008938/0.0008938, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009247/0.0009247, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9277/0.9277, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.433/2.433, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.085e-05, allocations: 8.219 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002462/0.002483, allocations: 1.843 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004076, allocations: 1.161 MB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.004172, allocations: 0 / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.004775, allocations: 163.5 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.005099, allocations: 159.3 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.005436, allocations: 143.5 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.005668, allocations: 183.5 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.00577, allocations: 9.969 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.005905, allocations: 99.72 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.006008, allocations: 67.8 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.006028, allocations: 8 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.006166, allocations: 67.88 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.006241, allocations: 51.83 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.006288, allocations: 39.8 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.006512, allocations: 151.5 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006516, allocations: 4 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.006516, allocations: 4 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.00652, allocations: 0 / 0.8426 GB, free: 10.06 MB / 0.8073 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.0004759/0.006995, allocations: 405.4 kB / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.007034, allocations: 8.625 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.007076, allocations: 12.92 kB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.007286, allocations: 182.1 kB / 0.8432 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.007305, allocations: 8.375 kB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.007317, allocations: 384 / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.007436, allocations: 64.98 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007445, allocations: 3.938 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.007452, allocations: 4 kB / 0.8433 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.00747, allocations: 4 kB / 0.8433 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.007498, allocations: 11.98 kB / 0.8433 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.007792, allocations: 205.8 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.257e-05/0.007884, allocations: 89.22 kB / 0.8436 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.007906, allocations: 16.86 kB / 0.8436 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007918, allocations: 7.938 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.07e-05/0.007999, allocations: 62.2 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.008, allocations: 4 kB / 0.8437 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001179/0.008118, allocations: 77.61 kB / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.008143, allocations: 51.41 kB / 0.8438 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.008277, allocations: 220.8 kB / 0.844 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.008294, allocations: 33.7 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.008336, allocations: 100.7 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.008357, allocations: 27.77 kB / 0.8441 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.008388, allocations: 29.69 kB / 0.8442 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.008479, allocations: 326.8 kB / 0.8445 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.008495, allocations: 10.77 kB / 0.8445 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.008531, allocations: 60.27 kB / 0.8445 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.008585, allocations: 51.66 kB / 0.8446 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008587, allocations: 0 / 0.8446 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.333e-05/0.00866, allocations: 76.38 kB / 0.8447 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.008669, allocations: 4 kB / 0.8447 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.008676, allocations: 4.141 kB / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.008685, allocations: 0 / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.008732, allocations: 15.94 kB / 0.8447 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.008736, allocations: 3.984 kB / 0.8447 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.008769, allocations: 19.95 kB / 0.8447 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.008774, allocations: 0 / 0.8447 GB, free: 7.707 MB / 0.8073 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 8.024e-05/0.008854, allocations: 128.6 kB / 0.8448 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.00887, allocations: 11.92 kB / 0.8448 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.008957, allocations: 79.12 kB / 0.8449 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.008966, allocations: 7.938 kB / 0.8449 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.008967, allocations: 0 / 0.8449 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00897, allocations: 3.938 kB / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.009062, allocations: 105.8 kB / 0.845 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.009063, allocations: 4 kB / 0.845 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.009077, allocations: 4 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.009078, allocations: 0 / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009085, allocations: 7.938 kB / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.009086, allocations: 0 / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009087, allocations: 0 / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.009163, allocations: 106.8 kB / 0.8452 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.009181, allocations: 15.84 kB / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.009197, allocations: 7.938 kB / 0.8452 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.009218, allocations: 0 / 0.8452 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.009245, allocations: 15.92 kB / 0.8452 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.009249, allocations: 4 kB / 0.8452 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.009308, allocations: 81 kB / 0.8453 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009308, allocations: 0 / 0.8453 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001315/0.00944, allocations: 31.92 kB / 0.8453 GB, free: 7.051 MB / 0.8073 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.001124/0.01056, allocations: 0.5024 MB / 0.8458 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.01065, allocations: 44.72 kB / 0.8458 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.01066, allocations: 0 / 0.8458 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.01069, allocations: 32.89 kB / 0.8459 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.01082, allocations: 48.06 kB / 0.8459 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.01114, allocations: 269.6 kB / 0.8462 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.01118, allocations: 75.83 kB / 0.8462 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.01122, allocations: 21.78 kB / 0.8463 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.01129, allocations: 75.34 kB / 0.8463 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.01129, allocations: 4 kB / 0.8463 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.004186/0.01548, allocations: 2.642 MB / 0.8489 GB, free: 3.562 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3529851459898055]