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.001062/0.001062, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001187/0.001187, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9965/0.9965, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.921/1.921, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.838e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002479/0.002508, allocations: 1.845 MB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003924, allocations: 1.144 MB / 0.8145 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.004016, allocations: 3.938 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.004611, allocations: 161.1 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004916, allocations: 168.7 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.005217, allocations: 136.9 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.005421, allocations: 179.5 kB / 0.8151 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.00553, allocations: 22.03 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.005644, allocations: 87.75 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.005748, allocations: 68.38 kB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005767, allocations: 9.375 kB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.005897, allocations: 75.81 kB / 0.8153 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.005968, allocations: 43.84 kB / 0.8154 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.00602, allocations: 35.86 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.006262, allocations: 156.6 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.006266, allocations: 0 / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006267, allocations: 0 / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.006272, allocations: 4.812 kB / 0.8156 GB, free: 13.94 MB / 0.7761 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.0005888/0.006861, allocations: 0.5207 MB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.006897, allocations: 8.531 kB / 0.8161 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.00696, allocations: 21.66 kB / 0.8161 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.007207, allocations: 201.7 kB / 0.8163 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.007227, allocations: 5.5 kB / 0.8163 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.00724, allocations: 4.375 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.00738, allocations: 66.09 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007388, allocations: 5.5 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007398, allocations: 0 / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.007415, allocations: 7.984 kB / 0.8164 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.007458, allocations: 12 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.007876, allocations: 340.7 kB / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.007997, allocations: 70.33 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.008034, allocations: 19.78 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.008047, allocations: 3.938 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.008163, allocations: 72.98 kB / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.008165, allocations: 0 / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002273/0.008392, allocations: 109.5 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.008423, allocations: 55.41 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.008611, allocations: 285.6 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008626, allocations: 30.2 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.008709, allocations: 176.8 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.008734, allocations: 19.84 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.008776, allocations: 35.36 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.008903, allocations: 0.5001 MB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.008934, allocations: 12 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.00899, allocations: 70.25 kB / 0.8181 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.009053, allocations: 55.23 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009055, allocations: 0 / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001148/0.00917, allocations: 94.58 kB / 0.8183 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.009186, allocations: 8 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.009191, allocations: 0.5312 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.00921, allocations: 0 / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.009284, allocations: 12.89 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009289, allocations: 0 / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.009324, allocations: 8.781 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.009332, allocations: 4 kB / 0.8183 GB, free: 10.91 MB / 0.7761 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.704e-05/0.009419, allocations: 169.7 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.009444, allocations: 31.88 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.0096, allocations: 107.8 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.009611, allocations: 4 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009615, allocations: 0.875 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.009619, allocations: 3.984 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.009755, allocations: 174.9 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009757, allocations: 0 / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.009779, allocations: 4 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009782, allocations: 3.984 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.00979, allocations: 0 / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.009791, allocations: 0 / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.009792, allocations: 4 kB / 0.8188 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.009925, allocations: 143.5 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.009947, allocations: 19.8 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.009967, allocations: 7.938 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.01, allocations: 11.97 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.01004, allocations: 4 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.01005, allocations: 3.984 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000119/0.01017, allocations: 200.5 kB / 0.8191 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 0.8191 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001865/0.01036, allocations: 32.86 kB / 0.8192 GB, free: 9.938 MB / 0.7761 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.001088/0.01144, allocations: 405.8 kB / 0.8196 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.01161, allocations: 58.72 kB / 0.8196 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01161, allocations: 0 / 0.8196 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.01166, allocations: 31.61 kB / 0.8196 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01191, allocations: 48.58 kB / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.01244, allocations: 270.8 kB / 0.82 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.0125, allocations: 83.69 kB / 0.82 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.593e-05/0.01255, allocations: 24.16 kB / 0.8201 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.01259, allocations: 16.5 kB / 0.8201 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.01259, allocations: 0 / 0.8201 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.005203/0.0178, allocations: 2.443 MB / 0.8225 GB, free: 6.711 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.230151624884456]