Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001449/0.001449, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001423/0.001423, allocations: 161 kB / 23.82 MB, free: 0.75 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.9713/0.9713, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.932/1.932, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.884e-05, allocations: 4.297 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001224/0.001243, allocations: 0.6234 MB / 0.8121 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002427, allocations: 1.164 MB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.002469, allocations: 0 / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.002499, allocations: 3.938 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.002562, allocations: 4.953 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.002931, allocations: 124.3 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.003051, allocations: 88.73 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.003141, allocations: 7.984 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.003231, allocations: 55.89 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.003308, allocations: 20.62 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.00333, allocations: 8.875 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.003381, allocations: 15.98 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.003402, allocations: 15.92 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.003447, allocations: 25.22 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.003574, allocations: 75.78 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003576, allocations: 0 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003577, allocations: 1.75 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.00358, allocations: 0 / 0.8137 GB, free: 15.51 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003673/0.003947, allocations: 406.3 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.003984, allocations: 12.03 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.004031, allocations: 4.938 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.004126, allocations: 117.7 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.004148, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.004167, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.326e-05/0.00426, allocations: 56.42 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004271, allocations: 4.188 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.00428, allocations: 384 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.004288, allocations: 384 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.004316, allocations: 12.8 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.004657, allocations: 283.8 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.004707, allocations: 27.91 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.004726, allocations: 15.73 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.004735, allocations: 4.625 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.173e-05/0.004816, allocations: 66.95 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004817, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001597/0.004977, allocations: 65.58 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.005008, allocations: 51.41 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.005091, allocations: 170.1 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.005109, allocations: 34.33 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.00516, allocations: 138.8 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.005173, allocations: 4.672 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.00522, allocations: 39.36 kB / 0.8151 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005327, allocations: 497.3 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.005391, allocations: 57.67 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.005456, allocations: 88.81 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.005528, allocations: 86.41 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.00553, allocations: 0 / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001812/0.005712, allocations: 181.9 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.005738, allocations: 37.64 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005742, allocations: 0 / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.005756, allocations: 0.5 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.005807, allocations: 5.062 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.005813, allocations: 3.984 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.005922, allocations: 21.8 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.005935, allocations: 8 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.739e-05/0.006003, allocations: 156.6 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.006012, allocations: 15.88 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.006044, allocations: 13.28 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006046, allocations: 240 / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.00605, allocations: 0 / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006054, allocations: 3.984 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.068e-05/0.006125, allocations: 121.5 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006126, allocations: 64 / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.006136, allocations: 10.06 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006138, allocations: 4 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.006144, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006145, allocations: 3.938 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006146, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.032e-05/0.006226, allocations: 92.42 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.006234, allocations: 8.547 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.006243, allocations: 3.438 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.006251, allocations: 3.938 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.006275, allocations: 7.984 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.006278, allocations: 0 / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.006315, allocations: 127.2 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006315, allocations: 0 / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001397/0.006455, allocations: 16 kB / 0.8166 GB, free: 12.15 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001063/0.006561, allocations: 111.1 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.00673, allocations: 141.2 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006732, allocations: 0.5625 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.006756, allocations: 25.03 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.006908, allocations: 15.92 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.007162, allocations: 126.9 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.007197, allocations: 64.02 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.007214, allocations: 0 / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.007236, allocations: 13.44 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.007236, allocations: 0 / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003214/0.01045, allocations: 1.201 MB / 0.8183 GB, free: 10.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.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.272878935094923]