Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01048/0.01048, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.25 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3615, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002485/0.364, allocations: 0.6058 MB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3659, allocations: 1.114 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.366, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.3661, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.3662, allocations: 7.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.3668, allocations: 119 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.367, allocations: 95.77 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3671, allocations: 8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3672, allocations: 35.95 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3674, allocations: 31.89 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3674, allocations: 15.94 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.3675, allocations: 23.98 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.3675, allocations: 11.92 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3676, allocations: 27.92 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3678, allocations: 87.72 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3678, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3678, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.3678, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 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.0005857/0.3684, allocations: 381.1 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3685, allocations: 8.031 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.3685, allocations: 12.92 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3687, allocations: 172.3 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3687, allocations: 4.375 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3688, allocations: 4.375 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.3689, allocations: 38.25 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3689, allocations: 192 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3689, allocations: 3.938 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3689, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.369, allocations: 15.94 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3695, allocations: 296.8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.3696, allocations: 26.52 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.3696, allocations: 12.91 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.3696, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.3698, allocations: 63.33 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3698, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.3701, allocations: 69.69 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3701, allocations: 51.41 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.3702, allocations: 109.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3702, allocations: 33.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.3703, allocations: 88.12 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3703, allocations: 7.891 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.3704, allocations: 33.7 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3705, allocations: 314.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.3706, allocations: 31.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.3707, allocations: 58.42 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3708, allocations: 76.28 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3708, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002477/0.3711, allocations: 155.3 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.3711, allocations: 33.7 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3711, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3712, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.3712, allocations: 7.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3712, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.3715, allocations: 27.88 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.3715, allocations: 15.98 kB / 1.092 GB, free: 12.95 MB / 0.8575 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.602e-05/0.3716, allocations: 117.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.3716, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.3717, allocations: 11.91 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3717, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3717, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3717, allocations: 3.984 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3718, allocations: 161.6 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3718, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.3718, allocations: 64 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3718, allocations: 7.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3719, allocations: 8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3719, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3719, allocations: 0.625 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.372, allocations: 96.89 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3721, allocations: 77.11 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.3721, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.3721, allocations: 3.984 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3721, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3721, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3722, allocations: 91.25 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3722, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002094/0.3724, allocations: 16 kB / 1.093 GB, free: 12.25 MB / 0.8575 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.0001444/0.3726, allocations: 107.2 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.3728, allocations: 119.3 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3728, allocations: 3.938 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.3728, allocations: 24.11 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3731, allocations: 13.5 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.3734, allocations: 126.2 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3736, allocations: 0.6806 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.3736, allocations: 4.25 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3737, allocations: 11.44 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3737, allocations: 3.938 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.003706/0.3774, allocations: 1.08 MB / 1.095 GB, free: 10.03 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches