Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001951/0.001951, allocations: 160.4 kB / 23.01 MB, free: 4.949 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.553/1.553, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002265/0.002265, allocations: 63.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001997/0.3662, allocations: 0.5931 MB / 1.118 GB, free: 1.973 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3679, allocations: 1.135 MB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.368, allocations: 0 / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.368, allocations: 3.938 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.3681, allocations: 11.92 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.3686, allocations: 122.1 kB / 1.119 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3688, allocations: 83.89 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.3689, allocations: 19.92 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.369, allocations: 27.98 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3691, allocations: 27.89 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.3691, allocations: 8 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.3692, allocations: 23.98 kB / 1.119 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3692, allocations: 3.984 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3692, allocations: 31.92 kB / 1.119 GB, free: 480 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3694, allocations: 91.66 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3694, allocations: 0 / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3694, allocations: 0 / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3694, allocations: 0 / 1.12 GB, free: 388 kB / 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.0004793/0.3699, allocations: 304 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3699, allocations: 12.03 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.37, allocations: 16.83 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3701, allocations: 106.5 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3702, allocations: 8.359 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3702, allocations: 4.375 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3703, allocations: 42.25 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3703, allocations: 192 / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3703, allocations: 11.86 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3703, allocations: 0 / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.3704, allocations: 11.94 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3708, allocations: 224.6 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/0.3709, allocations: 30.56 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.3709, allocations: 8.922 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3709, allocations: 3.938 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3711, allocations: 67.28 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3711, allocations: 0 / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.3713, allocations: 65.69 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3713, allocations: 59.39 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3714, allocations: 113.8 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3715, allocations: 41.69 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.3716, allocations: 80.14 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3716, allocations: 11.91 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.3716, allocations: 33.7 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3718, allocations: 310.8 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3719, allocations: 65.67 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.372, allocations: 84.19 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3721, allocations: 80.28 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3721, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002978/0.3724, allocations: 192.9 kB / 1.121 GB, free: 14.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.3725, allocations: 29.7 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3725, allocations: 4 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3725, allocations: 0 / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.3726, allocations: 7.922 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3726, allocations: 4 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3728, allocations: 31.86 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3728, allocations: 8 kB / 1.122 GB, free: 14.11 MB / 1.076 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.712e-05/0.3729, allocations: 113.9 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.3729, allocations: 7.938 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3729, allocations: 11.98 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3729, allocations: 0 / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3729, allocations: 0 / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3729, allocations: 4.062 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3731, allocations: 113.2 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3731, allocations: 3.938 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.3731, allocations: 7.938 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3731, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3731, allocations: 4 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3731, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3731, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.3732, allocations: 93 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.3732, allocations: 7.938 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3732, allocations: 4 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.3733, allocations: 0 / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.3733, allocations: 0 / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3733, allocations: 8.266 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.3734, allocations: 83.28 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3734, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002166/0.3736, allocations: 16 kB / 1.122 GB, free: 13.58 MB / 1.076 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.0001441/0.3737, allocations: 103.2 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.374, allocations: 149 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.374, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.374, allocations: 15.98 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.3742, allocations: 4 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.3745, allocations: 142 kB / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.68e-05/0.3746, allocations: 67.47 kB / 1.122 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.3746, allocations: 0 / 1.122 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.3747, allocations: 12.5 kB / 1.122 GB, free: 13.02 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3747, allocations: 0 / 1.122 GB, free: 13.02 MB / 1.076 GB Notification: Performance of Templates: time 0.004388/0.379, allocations: 1.17 MB / 1.124 GB, free: 11.88 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.938348884927109]