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.0009686/0.0009686, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009922/0.0009922, allocations: 168.3 kB / 24.87 MB, free: 8.871 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.9964/0.9964, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.643e-06/1.643e-06, allocations: 0 / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.708e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001245/0.001262, allocations: 0.6178 MB / 0.8134 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002428, allocations: 1.165 MB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.002472, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002498, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.002565, allocations: 8.797 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.002917, allocations: 120.5 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.003043, allocations: 93.5 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.00312, allocations: 7.984 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.003202, allocations: 51.91 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.003284, allocations: 23.95 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003302, allocations: 8 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-05/0.003353, allocations: 21.52 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003374, allocations: 11.92 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.003406, allocations: 19.98 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003521, allocations: 79.83 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003523, allocations: 1.375 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003524, allocations: 0 / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003527, allocations: 0 / 0.8149 GB, free: 15.29 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.0003348/0.003861, allocations: 404 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.003894, allocations: 12.03 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.00393, allocations: 12.88 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.517e-05/0.004006, allocations: 116.5 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.004022, allocations: 384 / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.004037, allocations: 9.469 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.163e-05/0.004109, allocations: 50.95 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004117, allocations: 192 / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.004122, allocations: 0.9375 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004127, allocations: 384 / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.004146, allocations: 12.89 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.004385, allocations: 264.3 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.004426, allocations: 32.03 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.004438, allocations: 15.73 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-06/0.004443, allocations: 2.312 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/0.004513, allocations: 61.05 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004514, allocations: 0 / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001334/0.004648, allocations: 73.5 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.004677, allocations: 51.41 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.004745, allocations: 165.9 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.004761, allocations: 30.23 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.004809, allocations: 139.6 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.004822, allocations: 7.938 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.00487, allocations: 39.88 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.00498, allocations: 492.1 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.005033, allocations: 55.27 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.005083, allocations: 80.73 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.005145, allocations: 81.31 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005147, allocations: 0 / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001561/0.005303, allocations: 169.7 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.005333, allocations: 44.66 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005337, allocations: 0.5625 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.005347, allocations: 3.938 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.005387, allocations: 4.719 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.005391, allocations: 4.328 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.005491, allocations: 24.78 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.005503, allocations: 4.938 kB / 0.8173 GB, free: 12.62 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.536e-05/0.005568, allocations: 164.6 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.005578, allocations: 13.11 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.005598, allocations: 7.984 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.005601, allocations: 3.938 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.005603, allocations: 0.9688 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005606, allocations: 64 / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.005683, allocations: 109.2 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005684, allocations: 2.219 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.005695, allocations: 3.984 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005697, allocations: 4 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.005701, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005702, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005703, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.855e-05/0.005782, allocations: 95.53 kB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.005789, allocations: 7.953 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-06/0.005797, allocations: 3.984 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.005805, allocations: 0 / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.005825, allocations: 3.938 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.00583, allocations: 4 kB / 0.8177 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.005867, allocations: 131.2 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005867, allocations: 0 / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000144/0.006011, allocations: 21.12 kB / 0.8178 GB, free: 12 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.0001005/0.006112, allocations: 99.19 kB / 0.8179 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.006255, allocations: 141.2 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.006256, allocations: 0.5312 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.006276, allocations: 21.3 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.006421, allocations: 11.94 kB / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.006621, allocations: 135.5 kB / 0.8182 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.006648, allocations: 55.22 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.006662, allocations: 4 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.00673, allocations: 87.27 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.006731, allocations: 7.938 kB / 0.8184 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.002817/0.009548, allocations: 1.322 MB / 0.8197 GB, free: 10.1 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.339800362940878]