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.001334/0.001334, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.001425/0.001425, allocations: 220.5 kB / 23 MB, free: 4.918 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.285/3.285, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 73.81 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0019/0.3671, allocations: 0.6061 MB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3687, allocations: 1.132 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.3687, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.3687, allocations: 3.938 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.3688, allocations: 3.938 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.3693, allocations: 125.2 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3695, allocations: 95.75 kB / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.3695, allocations: 4 kB / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.3696, allocations: 35.97 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.3697, allocations: 31.89 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3697, allocations: 8 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.3698, allocations: 27.92 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3698, allocations: 3.938 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3699, allocations: 27.98 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.37, allocations: 83.72 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.37, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.37, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.37, allocations: 3.938 kB / 1.367 GB, free: 11.43 MB / 1.061 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.0004756/0.3705, allocations: 300 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3706, allocations: 8.031 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.3706, allocations: 8.938 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3707, allocations: 118.4 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3707, allocations: 8.375 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3708, allocations: 4.375 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.3709, allocations: 38.25 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3709, allocations: 192 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3709, allocations: 7.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3709, allocations: 3.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.3709, allocations: 4 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3713, allocations: 232.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.3714, allocations: 26.58 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.3714, allocations: 8.859 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3714, allocations: 8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.3715, allocations: 63.33 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3715, allocations: 0 / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.3717, allocations: 77.61 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3718, allocations: 55.41 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.3719, allocations: 105.8 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3719, allocations: 25.7 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.372, allocations: 88.14 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.372, allocations: 13.02 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.3721, allocations: 33.64 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3722, allocations: 318.8 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3723, allocations: 61.69 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3724, allocations: 80.25 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3725, allocations: 80.27 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3725, allocations: 3.938 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002814/0.3728, allocations: 184.9 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.3729, allocations: 52.19 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3729, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3729, allocations: 4 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.3729, allocations: 3.938 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3729, allocations: 4 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3731, allocations: 24.03 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3732, allocations: 8 kB / 1.369 GB, free: 9.176 MB / 1.061 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 9.298e-05/0.3732, allocations: 117.8 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.3733, allocations: 15.89 kB / 1.369 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.3733, allocations: 4 kB / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3733, allocations: 0 / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3733, allocations: 0 / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3733, allocations: 0 / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3734, allocations: 113.2 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3734, allocations: 0 / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.3734, allocations: 11.94 kB / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3734, allocations: 0 / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3734, allocations: 0 / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3735, allocations: 0 / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3735, allocations: 8.328 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3736, allocations: 85.11 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.3736, allocations: 7.891 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3736, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.3736, allocations: 4 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3736, allocations: 7.984 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3736, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.3737, allocations: 91.25 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002107/0.3739, allocations: 20 kB / 1.369 GB, free: 8.629 MB / 1.061 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.0001278/0.374, allocations: 105.8 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3743, allocations: 141 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3743, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.3743, allocations: 11.98 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3745, allocations: 13.12 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.3748, allocations: 155.7 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.3749, allocations: 67.34 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.3749, allocations: 19.5 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3749, allocations: 0 / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of Templates: time 0.002552/0.3775, allocations: 0.937 MB / 1.371 GB, free: 7.125 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.268584192264825]