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.001406/0.001406, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001261/0.001261, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9633/0.9633, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.928/1.928, allocations: 377.8 MB / 0.6236 GB, free: 8.586 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.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.452e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002437/0.002462, allocations: 1.85 MB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003842, allocations: 1.144 MB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.003927, allocations: 7.938 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.004613, allocations: 165.6 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.004884, allocations: 156.9 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.005138, allocations: 152.9 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005314, allocations: 175.5 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.005408, allocations: 13.31 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005513, allocations: 96.41 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.005606, allocations: 63.86 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.005626, allocations: 9.031 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.005745, allocations: 75.81 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.005809, allocations: 49.06 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.005859, allocations: 35.91 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.006075, allocations: 159.4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006077, allocations: 3.938 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.01e-07/0.006078, allocations: 0.625 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.006083, allocations: 1.125 kB / 0.8156 GB, free: 13.62 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.0005353/0.006618, allocations: 0.5207 MB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.006655, allocations: 8.031 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.00671, allocations: 21.59 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.006944, allocations: 197.7 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.006965, allocations: 9.031 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.006979, allocations: 4.375 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.007107, allocations: 67.38 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.007118, allocations: 3.938 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007127, allocations: 0 / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.007142, allocations: 5.875 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.007184, allocations: 19.98 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.007559, allocations: 339.6 kB / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.007672, allocations: 68.56 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.007709, allocations: 15.69 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.007726, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.007835, allocations: 81.47 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.073e-06/0.007837, allocations: 0 / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002064/0.008043, allocations: 106.1 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.008069, allocations: 55.97 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.008261, allocations: 291 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.008275, allocations: 25.7 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.008356, allocations: 170.9 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.008382, allocations: 19.86 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.00842, allocations: 35.88 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.008536, allocations: 0.504 MB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.008564, allocations: 12.61 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.008614, allocations: 70.72 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.008675, allocations: 51.25 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008677, allocations: 0 / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001133/0.008791, allocations: 97.47 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.008804, allocations: 8.531 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.00881, allocations: 0.7188 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.008825, allocations: 112 / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.00889, allocations: 12.75 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008895, allocations: 0 / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.008932, allocations: 16.86 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.008939, allocations: 8 kB / 0.8183 GB, free: 10.58 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.092e-05/0.00902, allocations: 165.8 kB / 0.8185 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.009041, allocations: 27.89 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.009188, allocations: 99.08 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.009198, allocations: 4.938 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.009201, allocations: 0 / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.009204, allocations: 2.312 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.009339, allocations: 180.5 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.009341, allocations: 0 / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.009361, allocations: 4 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009363, allocations: 0 / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009371, allocations: 4 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.009374, allocations: 7.375 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009375, allocations: 4 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.009495, allocations: 136.2 kB / 0.8189 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.009518, allocations: 27.78 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.009535, allocations: 0 / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.009565, allocations: 4 kB / 0.819 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.009601, allocations: 11.98 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.009608, allocations: 0 / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001059/0.009714, allocations: 200.5 kB / 0.8192 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009714, allocations: 0.6562 kB / 0.8192 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001692/0.009883, allocations: 28 kB / 0.8192 GB, free: 9.629 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.0009133/0.0108, allocations: 411.1 kB / 0.8196 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.01093, allocations: 47.67 kB / 0.8196 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01093, allocations: 0 / 0.8196 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.01098, allocations: 39.59 kB / 0.8197 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.01118, allocations: 58.23 kB / 0.8197 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.01159, allocations: 267.8 kB / 0.82 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.01163, allocations: 83.69 kB / 0.82 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01168, allocations: 30.88 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.01172, allocations: 20.03 kB / 0.8201 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.01172, allocations: 0 / 0.8201 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of Templates: time 0.004688/0.01641, allocations: 2.429 MB / 0.8225 GB, free: 6.406 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.3540337407030165]