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.001101/0.001101, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.002819, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001096/0.001096, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002549, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9566/0.9566, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08713/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2666/2.692, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.954e-06/1.954e-06, allocations: 0 / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.938e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002167/0.002187, allocations: 1.886 MB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.003551, allocations: 1.172 MB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.003624, allocations: 0 / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.004022, allocations: 163.3 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.004246, allocations: 163.3 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004485, allocations: 151.3 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004662, allocations: 175.5 kB / 0.8226 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.004748, allocations: 17.95 kB / 0.8226 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.004898, allocations: 138.7 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.004989, allocations: 67.8 kB / 0.8228 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.005006, allocations: 8 kB / 0.8228 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.005128, allocations: 71.83 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.005188, allocations: 35.86 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.005228, allocations: 27.94 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.00542, allocations: 143.4 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.005432, allocations: 3.938 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.893e-06/0.005434, allocations: 4 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.005448, allocations: 4 kB / 0.8231 GB, free: 14.21 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.0006914/0.006139, allocations: 433 kB / 0.8235 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.006177, allocations: 8.031 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.006228, allocations: 16.92 kB / 0.8235 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.006449, allocations: 182.1 kB / 0.8237 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.006468, allocations: 8.359 kB / 0.8237 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.006486, allocations: 16.06 kB / 0.8237 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.006602, allocations: 52.5 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006612, allocations: 0 / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.006621, allocations: 4 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.006642, allocations: 4 kB / 0.8237 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.006671, allocations: 11.98 kB / 0.8238 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.006971, allocations: 209.7 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.007076, allocations: 89.27 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.007103, allocations: 12.86 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.007115, allocations: 4 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.007221, allocations: 66.16 kB / 0.8241 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/0.007223, allocations: 4 kB / 0.8241 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001329/0.007356, allocations: 73.66 kB / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.00738, allocations: 51.41 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.007514, allocations: 224.8 kB / 0.8245 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.007528, allocations: 25.7 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.007568, allocations: 108.6 kB / 0.8246 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.007591, allocations: 23.72 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.007622, allocations: 33.69 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.007703, allocations: 334.7 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.007718, allocations: 6.828 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.007756, allocations: 56.27 kB / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.0078, allocations: 47.48 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007802, allocations: 7.875 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.753e-05/0.00788, allocations: 76.58 kB / 0.8251 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007891, allocations: 4 kB / 0.8251 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007897, allocations: 4.016 kB / 0.8252 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.007907, allocations: 0 / 0.8252 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.007964, allocations: 15.98 kB / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007969, allocations: 3.984 kB / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.008, allocations: 11.98 kB / 0.8252 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008006, allocations: 0 / 0.8252 GB, free: 11.83 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 6.715e-05/0.008073, allocations: 125.4 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.008088, allocations: 11.98 kB / 0.8253 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.008196, allocations: 83.11 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.008204, allocations: 4 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.008206, allocations: 0 / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008209, allocations: 0 / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.008309, allocations: 109.8 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.008311, allocations: 3.938 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.008332, allocations: 15.98 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.008347, allocations: 11.91 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008348, allocations: 0 / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.008353, allocations: 0 / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.008356, allocations: 4 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008357, allocations: 0 / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.251e-05/0.008439, allocations: 114.5 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.008455, allocations: 0 / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.008478, allocations: 4 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.008505, allocations: 3.984 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.008512, allocations: 8 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.355e-05/0.008576, allocations: 81 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008576, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001297/0.008705, allocations: 35.89 kB / 0.8258 GB, free: 11.16 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.001263/0.009968, allocations: 0.5729 MB / 0.8263 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.01008, allocations: 44.78 kB / 0.8264 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.167e-05/0.0101, allocations: 4 kB / 0.8264 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.01017, allocations: 36.86 kB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.0104, allocations: 226.8 kB / 0.8266 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.0109, allocations: 273.5 kB / 0.8269 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.01095, allocations: 75.83 kB / 0.827 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.01099, allocations: 17.94 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.01107, allocations: 75.36 kB / 0.8271 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of SimCode: time 9.62e-07/0.01107, allocations: 8 kB / 0.8271 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.004561/0.01563, allocations: 2.695 MB / 0.8297 GB, free: 7.375 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.353498087264597]