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.0009593/0.0009593, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001213/0.001213, allocations: 181 kB / 24.09 MB, free: 416 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.9946/0.9946, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.822/1.822, allocations: 377.9 MB / 0.624 GB, free: 8.398 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 2.915e-06/2.915e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.579e-05, allocations: 7.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004006/0.004041, allocations: 1.823 MB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.006056, allocations: 1.136 MB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.006149, allocations: 4.781 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.0067, allocations: 177.1 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.006984, allocations: 160.8 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.007272, allocations: 137.2 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.007468, allocations: 183.5 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.007563, allocations: 17.28 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.007676, allocations: 88.91 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.007771, allocations: 71.78 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.007789, allocations: 8 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.007906, allocations: 68.75 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.007967, allocations: 47.84 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.008005, allocations: 31.86 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.008203, allocations: 164.4 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.008208, allocations: 3.984 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008209, allocations: 2.344 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.008213, allocations: 0 / 0.816 GB, free: 13.34 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.0004773/0.00869, allocations: 0.5167 MB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.008727, allocations: 12.03 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.00877, allocations: 20.84 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.008969, allocations: 201.6 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.008989, allocations: 8.891 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.009, allocations: 5.094 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.009114, allocations: 58.17 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.009122, allocations: 4.469 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.009131, allocations: 5.594 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.00915, allocations: 0 / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.009179, allocations: 15.98 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.009496, allocations: 304.2 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.009585, allocations: 59.78 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.009608, allocations: 20.34 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.009623, allocations: 0.6562 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.766e-05/0.00972, allocations: 80.95 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.009722, allocations: 0.5312 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001729/0.009894, allocations: 98.27 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.009925, allocations: 51.41 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.01008, allocations: 287 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.01009, allocations: 37.64 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.01016, allocations: 166.8 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.01019, allocations: 20.67 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.01022, allocations: 35.34 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01035, allocations: 0.5049 MB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.01036, allocations: 11.98 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.01041, allocations: 60.75 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.01046, allocations: 48.52 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01046, allocations: 0 / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001016/0.01056, allocations: 94.36 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01057, allocations: 11.98 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01058, allocations: 2.219 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01059, allocations: 0 / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.01065, allocations: 8 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01065, allocations: 0 / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.01068, allocations: 7.938 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01069, allocations: 4 kB / 0.8187 GB, free: 10.39 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 9.477e-05/0.01078, allocations: 171.7 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.0108, allocations: 23.84 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.01093, allocations: 103 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.01094, allocations: 4 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01094, allocations: 0 / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01095, allocations: 0 / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.01106, allocations: 137.2 kB / 0.8191 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01106, allocations: 5.156 kB / 0.8191 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.01108, allocations: 7.984 kB / 0.8191 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01108, allocations: 7.875 kB / 0.8191 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.01109, allocations: 0.5625 kB / 0.8191 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01109, allocations: 4.5 kB / 0.8191 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01109, allocations: 0.5625 kB / 0.8191 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.0112, allocations: 132.3 kB / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.01148, allocations: 20.98 kB / 0.8193 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.0115, allocations: 7.938 kB / 0.8193 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.01153, allocations: 7.984 kB / 0.8193 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.01156, allocations: 9.078 kB / 0.8193 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01156, allocations: 3.984 kB / 0.8193 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.01164, allocations: 192.5 kB / 0.8195 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01164, allocations: 0.6562 kB / 0.8195 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001595/0.0118, allocations: 32.8 kB / 0.8195 GB, free: 9.477 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.0008206/0.01262, allocations: 412.4 kB / 0.8199 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.01273, allocations: 47.66 kB / 0.82 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01273, allocations: 0 / 0.82 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.01277, allocations: 37.22 kB / 0.82 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.01296, allocations: 45.75 kB / 0.82 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.01328, allocations: 266.7 kB / 0.8203 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.01332, allocations: 83.81 kB / 0.8204 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.01336, allocations: 17.78 kB / 0.8204 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.01344, allocations: 98.19 kB / 0.8205 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of SimCode: time 4.7e-07/0.01344, allocations: 0 / 0.8205 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.004316/0.01775, allocations: 2.651 MB / 0.8231 GB, free: 5.977 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.10118263727054]