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.001361/0.001361, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001517/0.001517, allocations: 213.8 kB / 22.24 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.812 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.525/3.525, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002062/0.002062, allocations: 71.61 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4463, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002521/0.4488, allocations: 0.5983 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.4508, allocations: 1.132 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.4509, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.4509, allocations: 3.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.451, allocations: 7.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.4517, allocations: 122.6 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.4519, allocations: 87.89 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.452, allocations: 3.984 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4522, allocations: 47.91 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.4523, allocations: 27.89 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4523, allocations: 8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.4524, allocations: 12 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.4524, allocations: 19.91 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.4525, allocations: 27.86 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4527, allocations: 83.73 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4527, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4527, allocations: 4 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.4528, allocations: 3.984 kB / 1.366 GB, free: 11.4 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.0006085/0.4534, allocations: 300 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4534, allocations: 12.03 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.4535, allocations: 4.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.4536, allocations: 114.4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4536, allocations: 384 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.4537, allocations: 8.375 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4538, allocations: 38.25 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4538, allocations: 192 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4538, allocations: 3.938 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4538, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.4539, allocations: 19.92 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.4543, allocations: 228.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.4544, allocations: 22.58 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.4545, allocations: 16.91 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4545, allocations: 3.938 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.4547, allocations: 63.33 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4547, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002621/0.455, allocations: 69.64 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.455, allocations: 51.41 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4552, allocations: 113.8 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.4552, allocations: 29.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.4553, allocations: 96.12 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.4553, allocations: 7.938 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.4554, allocations: 29.7 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4556, allocations: 318.8 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4557, allocations: 65.61 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4558, allocations: 77.33 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.456, allocations: 84.27 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.456, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003325/0.4563, allocations: 192.9 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.4563, allocations: 33.7 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4563, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4564, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.4564, allocations: 11.94 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4564, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4567, allocations: 24.03 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.4567, allocations: 15.92 kB / 1.368 GB, free: 9.148 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 0.0001292/0.4568, allocations: 121.9 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.4568, allocations: 7.891 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.4569, allocations: 4.234 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4569, allocations: 7.984 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4569, allocations: 0 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4569, allocations: 3.984 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.457, allocations: 109.3 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.457, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.4571, allocations: 7.922 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4571, allocations: 3.938 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4571, allocations: 4 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4571, allocations: 4 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4571, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.4572, allocations: 85.06 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.4573, allocations: 11.89 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.4573, allocations: 3.984 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.509e-05/0.4573, allocations: 0 / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.4573, allocations: 4 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4573, allocations: 0 / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.4574, allocations: 87.27 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4574, allocations: 0 / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000226/0.4577, allocations: 16 kB / 1.368 GB, free: 8.605 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.0001913/0.4578, allocations: 103.2 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.4582, allocations: 149 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4582, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.4582, allocations: 8 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4585, allocations: 11.98 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.4589, allocations: 130 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.459, allocations: 71.47 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.459, allocations: 3.984 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.4591, allocations: 11.44 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4591, allocations: 0 / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of Templates: time 0.00512/0.4642, allocations: 1.198 MB / 1.37 GB, free: 6.891 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/jenkins/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: 9.784568218514323]