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.0008628/0.0008628, allocations: 80.81 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.00101/0.00101, allocations: 173 kB / 23.36 MB, free: 1.133 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.398/2.398, allocations: 438.8 MB / 0.6826 GB, free: 13.67 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.462e-06/1.462e-06, allocations: 0 / 0.8386 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.954e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001112/0.001132, allocations: 0.6172 MB / 0.8392 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002199, allocations: 1.166 MB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.00223, allocations: 0 / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.002253, allocations: 3.938 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.667e-05/0.00232, allocations: 7.938 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.002643, allocations: 119.6 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.002757, allocations: 91.81 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.002816, allocations: 4 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.002891, allocations: 47.97 kB / 0.8406 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.002963, allocations: 31.94 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.002983, allocations: 8 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.319e-05/0.003036, allocations: 23.98 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.003054, allocations: 3.938 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.003088, allocations: 27.97 kB / 0.8407 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003195, allocations: 83.7 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003197, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003197, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.434e-06/0.0032, allocations: 4 kB / 0.8407 GB, free: 12.06 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.0002652/0.003465, allocations: 266.6 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.003494, allocations: 8.031 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.003522, allocations: 16.92 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.003592, allocations: 109.7 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003605, allocations: 4.375 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.003618, allocations: 4.375 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.003681, allocations: 54.89 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.00369, allocations: 4.172 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003697, allocations: 4.375 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003703, allocations: 384 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.00372, allocations: 11.92 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.003906, allocations: 156.2 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.003943, allocations: 30.55 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.003954, allocations: 8.922 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.003959, allocations: 0 / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.004022, allocations: 59.38 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004023, allocations: 0 / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.499e-05/0.004118, allocations: 53.61 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.004152, allocations: 55.34 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.004214, allocations: 118.6 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.004228, allocations: 29.7 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.004261, allocations: 84.14 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.004273, allocations: 11.94 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.004312, allocations: 29.7 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003332/0.004645, allocations: 318.8 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.004687, allocations: 49.69 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.004732, allocations: 68.27 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.004787, allocations: 80.19 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004789, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.004899, allocations: 145.1 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.004925, allocations: 47.88 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00493, allocations: 400 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.004939, allocations: 3.938 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.004973, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.004977, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.005067, allocations: 19.98 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.005079, allocations: 7.984 kB / 0.8425 GB, free: 10.02 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 7.54e-05/0.005155, allocations: 117.8 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.005166, allocations: 4 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.00519, allocations: 12 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.005194, allocations: 11.88 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.005196, allocations: 0 / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0052, allocations: 3.984 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.374e-05/0.005254, allocations: 61.91 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.005257, allocations: 4 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.005267, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.005269, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-06/0.005272, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.005275, allocations: 3.984 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005277, allocations: 4 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.999e-05/0.005337, allocations: 69.06 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.005344, allocations: 12.22 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.005352, allocations: 4 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-06/0.00536, allocations: 0 / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.005377, allocations: 7.969 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00538, allocations: 7.938 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.162e-05/0.005392, allocations: 12.8 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005392, allocations: 0 / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001104/0.005502, allocations: 23.92 kB / 0.8429 GB, free: 9.613 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 7.91e-05/0.005582, allocations: 80.42 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.005697, allocations: 133.9 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.005699, allocations: 0 / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.005715, allocations: 20.78 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.362e-05/0.005799, allocations: 4 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.005976, allocations: 120.7 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.498e-05/0.006001, allocations: 63.23 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.006015, allocations: 4 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.006079, allocations: 67.48 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.00608, allocations: 0 / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of Templates: time 0.002396/0.008476, allocations: 1.304 MB / 0.8446 GB, free: 7.77 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 -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.331711664330214]