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.0009795/0.0009795, allocations: 77.97 kB / 21.47 MB, free: 3.031 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.001068/0.001068, allocations: 155.5 kB / 24.86 MB, free: 8.887 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.9376/0.9376, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.962/1.962, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] 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.173e-06/1.173e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.477e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002184/0.002198, allocations: 1.828 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003502, allocations: 1.131 MB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.003583, allocations: 3.938 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.004089, allocations: 170.1 kB / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.004366, allocations: 159.3 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.004648, allocations: 145 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.004838, allocations: 185 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.004918, allocations: 9.312 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.005023, allocations: 99.72 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.00511, allocations: 63.86 kB / 0.8165 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.005126, allocations: 9.031 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.00524, allocations: 75.75 kB / 0.8166 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.0053, allocations: 47.83 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.005337, allocations: 28.47 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.005528, allocations: 163.9 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00553, allocations: 0 / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00553, allocations: 1 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.005534, allocations: 0 / 0.8168 GB, free: 13.32 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.0005825/0.006116, allocations: 0.5213 MB / 0.8173 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.006148, allocations: 12.03 kB / 0.8173 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.00619, allocations: 17.38 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.006378, allocations: 203 kB / 0.8175 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.006393, allocations: 384 / 0.8175 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.006402, allocations: 4.375 kB / 0.8175 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.006498, allocations: 63.27 kB / 0.8176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.006506, allocations: 7.938 kB / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.006514, allocations: 0 / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.006528, allocations: 0 / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.006558, allocations: 20.86 kB / 0.8176 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.006851, allocations: 308.2 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.006937, allocations: 56.02 kB / 0.818 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.006966, allocations: 24.45 kB / 0.818 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.006974, allocations: 0 / 0.818 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.449e-05/0.007059, allocations: 78.25 kB / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.00706, allocations: 0 / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001614/0.007222, allocations: 94.42 kB / 0.8182 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.007247, allocations: 55.34 kB / 0.8182 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.007401, allocations: 285.5 kB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.007417, allocations: 34.58 kB / 0.8185 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.007483, allocations: 166.8 kB / 0.8187 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.007506, allocations: 25.41 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.007539, allocations: 31.36 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.007657, allocations: 0.5079 MB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.007672, allocations: 4 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.00771, allocations: 65.94 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.007758, allocations: 55.28 kB / 0.8193 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00776, allocations: 3.156 kB / 0.8193 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.747e-05/0.007848, allocations: 89.42 kB / 0.8194 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.007858, allocations: 4 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.007864, allocations: 4.109 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.007872, allocations: 3.938 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.007921, allocations: 8 kB / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.007923, allocations: 0 / 0.8194 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.007956, allocations: 11.92 kB / 0.8195 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.007963, allocations: 8.5 kB / 0.8195 GB, free: 10.36 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.09e-05/0.008044, allocations: 158.5 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008063, allocations: 23.78 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.008184, allocations: 99.08 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.008192, allocations: 4 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008194, allocations: 1.094 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008197, allocations: 0 / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008316, allocations: 145.2 kB / 0.8199 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008317, allocations: 0.6562 kB / 0.8199 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.008334, allocations: 10.47 kB / 0.8199 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.008337, allocations: 7.922 kB / 0.8199 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.008343, allocations: 4 kB / 0.8199 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.008344, allocations: 0 / 0.8199 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008345, allocations: 240 / 0.8199 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.008452, allocations: 144.2 kB / 0.82 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.008474, allocations: 27.78 kB / 0.8201 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.008489, allocations: 6.906 kB / 0.8201 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.008514, allocations: 4 kB / 0.8201 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.00854, allocations: 7.984 kB / 0.8201 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.008546, allocations: 4 kB / 0.8201 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.343e-05/0.00863, allocations: 192.5 kB / 0.8203 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.00863, allocations: 0 / 0.8203 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001687/0.008798, allocations: 28 kB / 0.8203 GB, free: 9.453 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.000804/0.009602, allocations: 398 kB / 0.8207 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.009707, allocations: 52.73 kB / 0.8207 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009709, allocations: 4 kB / 0.8207 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.009742, allocations: 27.61 kB / 0.8208 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.009924, allocations: 47.28 kB / 0.8208 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.01024, allocations: 274.7 kB / 0.8211 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01029, allocations: 83.69 kB / 0.8211 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.01033, allocations: 17.78 kB / 0.8212 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.01041, allocations: 102.3 kB / 0.8213 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01041, allocations: 0 / 0.8213 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.004598/0.01501, allocations: 2.686 MB / 0.8239 GB, free: 5.918 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.343656430020928]