Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001057/0.001057, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001155/0.001155, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.578/2.578, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.536e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001475/0.0015, allocations: 0.6573 MB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002667, allocations: 1.166 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.002707, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.002734, allocations: 7.938 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.002802, allocations: 7.922 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.00316, allocations: 119.6 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003286, allocations: 91.83 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.003351, allocations: 7.984 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.327e-05/0.003435, allocations: 51.95 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.003516, allocations: 23.91 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.003535, allocations: 8 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.003606, allocations: 27.97 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.00362, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.003651, allocations: 23.98 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003766, allocations: 83.7 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003769, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00377, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003774, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 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.0002918/0.004066, allocations: 282.6 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.004097, allocations: 12.03 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.004134, allocations: 8.922 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.004213, allocations: 105.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.004228, allocations: 384 / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.00424, allocations: 8.375 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.004307, allocations: 50.95 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004315, allocations: 4.172 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.004322, allocations: 384 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004327, allocations: 384 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.004347, allocations: 11.88 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.004565, allocations: 164.3 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.521e-05/0.0046, allocations: 18.58 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.004613, allocations: 12.92 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.004619, allocations: 0 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.746e-05/0.004697, allocations: 63.33 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004698, allocations: 0 / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001073/0.004805, allocations: 53.61 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.004833, allocations: 59.34 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.00489, allocations: 118.6 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.004905, allocations: 29.7 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.004936, allocations: 92.12 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.00495, allocations: 7.953 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.004991, allocations: 29.69 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.005062, allocations: 314.8 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.005109, allocations: 57.62 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.005157, allocations: 72.25 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.005216, allocations: 68.25 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005218, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.005336, allocations: 149 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.005365, allocations: 41.62 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.00537, allocations: 0 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.005388, allocations: 3.938 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.005428, allocations: 4.234 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.005431, allocations: 0 / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.005527, allocations: 19.98 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.00554, allocations: 7.984 kB / 0.8426 GB, free: 9.863 MB / 0.8073 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 5.933e-05/0.005599, allocations: 113.8 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.005608, allocations: 8.047 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.005626, allocations: 11.98 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.005629, allocations: 3.938 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005631, allocations: 0 / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005634, allocations: 0 / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.21e-05/0.005696, allocations: 77.84 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.005697, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.005708, allocations: 3.984 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00571, allocations: 4 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.005715, allocations: 0 / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.005717, allocations: 3.938 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005718, allocations: 4.062 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.005781, allocations: 73.06 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.005786, allocations: 0 / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.005794, allocations: 3.984 kB / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.005804, allocations: 7.938 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.005821, allocations: 4 kB / 0.8429 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.005825, allocations: 3.938 kB / 0.8429 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.308e-05/0.005838, allocations: 12.84 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005838, allocations: 4 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001177/0.005956, allocations: 15.94 kB / 0.8429 GB, free: 9.469 MB / 0.8073 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 9.85e-05/0.006054, allocations: 88.41 kB / 0.843 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.006178, allocations: 137.9 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.006182, allocations: 0 / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/0.006198, allocations: 12.86 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.976e-05/0.006298, allocations: 7.984 kB / 0.8432 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.00651, allocations: 120.6 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.006539, allocations: 59.3 kB / 0.8433 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.006557, allocations: 8.109 kB / 0.8434 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.006627, allocations: 67.34 kB / 0.8434 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.006628, allocations: 0 / 0.8434 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of Templates: time 0.002707/0.009335, allocations: 1.31 MB / 0.8447 GB, free: 7.613 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.528890235815197]