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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001596/0.001596, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001559/0.001559, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 76.31 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3655, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002274/0.3679, allocations: 0.6174 MB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3693, allocations: 1.111 MB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3694, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.3695, allocations: 7.875 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.3695, allocations: 7.938 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.37, allocations: 131 kB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3702, allocations: 95.83 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.3703, allocations: 4 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.3704, allocations: 31.97 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.3705, allocations: 35.89 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3705, allocations: 8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.3706, allocations: 23.98 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3706, allocations: 7.875 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.3707, allocations: 35.91 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3709, allocations: 87.78 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3709, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3709, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3709, allocations: 0 / 1.029 GB, free: 15.92 MB / 0.8106 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.0004798/0.3714, allocations: 377.1 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3714, allocations: 8.031 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.3715, allocations: 4.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3716, allocations: 168.4 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.3716, allocations: 12.36 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3717, allocations: 4.375 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.3718, allocations: 38.25 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3718, allocations: 4.188 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3718, allocations: 3.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.3718, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.3718, allocations: 11.94 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3723, allocations: 296.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.3724, allocations: 30.52 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.3724, allocations: 12.92 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3724, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.3726, allocations: 63.33 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3726, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.3728, allocations: 69.67 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3728, allocations: 55.41 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.3729, allocations: 117.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.373, allocations: 29.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.373, allocations: 84.14 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3731, allocations: 7.906 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.3731, allocations: 29.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3732, allocations: 318.8 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.3733, allocations: 39.86 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.3734, allocations: 54.56 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3735, allocations: 80.27 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3736, allocations: 7.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002546/0.3738, allocations: 143.3 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.3739, allocations: 37.69 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3739, allocations: 4.062 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3739, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.374, allocations: 7.938 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.374, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3742, allocations: 31.88 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3742, allocations: 8 kB / 1.031 GB, free: 13.53 MB / 0.8106 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.0001201/0.3743, allocations: 125.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.3743, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.3744, allocations: 8.141 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3744, allocations: 7.984 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3744, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3744, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3745, allocations: 173.6 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3745, allocations: 64 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3746, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3746, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3746, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3746, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3746, allocations: 4 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3747, allocations: 92.89 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3748, allocations: 77.11 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3748, allocations: 4 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.3748, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3748, allocations: 3.984 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3749, allocations: 8 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.3749, allocations: 79.28 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3749, allocations: 4 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002042/0.3751, allocations: 20 kB / 1.032 GB, free: 12.82 MB / 0.8106 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.000152/0.3753, allocations: 107.2 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3755, allocations: 123.3 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3755, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.3756, allocations: 16 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.3758, allocations: 19.98 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.3761, allocations: 134 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3763, allocations: 0.6768 MB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.3763, allocations: 11.89 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.3764, allocations: 7.438 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3764, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of Templates: time 0.003338/0.3797, allocations: 1.07 MB / 1.034 GB, free: 10.6 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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) Reference file matches