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.0009711/0.0009711, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009544/0.0009544, allocations: 161 kB / 24.17 MB, free: 332 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 1.012/1.012, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.167e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001225/0.001247, allocations: 0.6162 MB / 0.7606 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002625, allocations: 1.162 MB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.002666, allocations: 0.875 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002692, allocations: 0 / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.002761, allocations: 14.67 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.003118, allocations: 126.7 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.003258, allocations: 83.06 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.043e-05/0.003328, allocations: 4 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.003419, allocations: 58.89 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.003508, allocations: 25.22 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.003526, allocations: 8 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.00358, allocations: 23.98 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.003601, allocations: 6.469 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.003634, allocations: 24.53 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003763, allocations: 78.62 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003765, allocations: 0.9688 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003767, allocations: 3.938 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.003771, allocations: 4 kB / 0.7622 GB, free: 4.438 MB / 0.7136 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.0002831/0.004054, allocations: 271.6 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.004086, allocations: 8.031 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.004119, allocations: 13.61 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.004197, allocations: 106.4 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.004212, allocations: 6.156 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004228, allocations: 8.375 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.004296, allocations: 50.94 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004303, allocations: 192 / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004308, allocations: 384 / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004313, allocations: 6.203 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.004328, allocations: 3.938 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.004535, allocations: 176.2 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.004572, allocations: 20.64 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.242e-05/0.004585, allocations: 8.922 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.00459, allocations: 0 / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.004657, allocations: 59.33 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004658, allocations: 1.406 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001027/0.004761, allocations: 53.61 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.004791, allocations: 56.16 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.004848, allocations: 110.7 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.004865, allocations: 30.2 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.004897, allocations: 90.98 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.004909, allocations: 3.953 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.004948, allocations: 33.69 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.005018, allocations: 314.8 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.005066, allocations: 49.69 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.005112, allocations: 76.19 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.005173, allocations: 73.69 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005176, allocations: 4.547 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001145/0.00529, allocations: 146.3 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.005324, allocations: 40.03 kB / 0.7639 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005328, allocations: 0.9375 kB / 0.7639 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.005343, allocations: 3.938 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.005388, allocations: 11.88 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.005391, allocations: 2.344 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.00549, allocations: 23.94 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.005503, allocations: 7.984 kB / 0.764 GB, free: 2.402 MB / 0.7136 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.838e-05/0.005562, allocations: 109.8 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.00557, allocations: 6.75 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.005591, allocations: 11.98 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.005594, allocations: 7.938 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.005596, allocations: 0 / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.005598, allocations: 0 / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.454e-05/0.005653, allocations: 65.89 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005654, allocations: 0 / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.005662, allocations: 7.984 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005663, allocations: 1.547 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.005667, allocations: 0 / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.005667, allocations: 0 / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005668, allocations: 0.9375 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.574e-05/0.005724, allocations: 76.98 kB / 0.7642 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.005729, allocations: 4 kB / 0.7642 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.005738, allocations: 8.922 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.005745, allocations: 0 / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.005761, allocations: 0.5 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.005767, allocations: 7.938 kB / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.295e-05/0.00578, allocations: 20.66 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00578, allocations: 0 / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001115/0.005892, allocations: 19.94 kB / 0.7643 GB, free: 2.016 MB / 0.7136 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.968e-05/0.005991, allocations: 80.42 kB / 0.7644 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.006121, allocations: 141.8 kB / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.006125, allocations: 4 kB / 0.7645 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.006141, allocations: 12.86 kB / 0.7645 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.565e-05/0.006236, allocations: 6.5 kB / 0.7645 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.006442, allocations: 136 kB / 0.7647 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.947e-05/0.006471, allocations: 59.3 kB / 0.7647 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.515e-05/0.006486, allocations: 3.984 kB / 0.7647 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.006548, allocations: 64.17 kB / 0.7648 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.006548, allocations: 3.938 kB / 0.7648 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of Templates: time 0.002703/0.009251, allocations: 1.282 MB / 0.766 GB, free: 232 kB / 0.7136 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.071266615763307]