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.00106/0.00106, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001652/0.001652, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.832/2.832, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 8.031 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3657, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007957/0.3666, allocations: 330 kB / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3678, allocations: 1.096 MB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.3679, allocations: 0 / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.3679, allocations: 3.938 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.368, allocations: 0 / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3683, allocations: 109.4 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.353e-05/0.3685, allocations: 75.89 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.446e-05/0.3685, allocations: 3.938 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.3686, allocations: 27.97 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.3687, allocations: 31.89 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.3687, allocations: 4 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.3688, allocations: 12 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.3688, allocations: 3.984 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.3689, allocations: 41.64 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.369, allocations: 51.86 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.369, allocations: 4 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.369, allocations: 0 / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.369, allocations: 4 kB / 1.06 GB, free: 3.492 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.0004302/0.3694, allocations: 365.2 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3695, allocations: 12.03 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3695, allocations: 7.906 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3697, allocations: 163.1 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3697, allocations: 7.938 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3697, allocations: 7.953 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.3698, allocations: 41.69 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3698, allocations: 4 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3698, allocations: 0 / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3699, allocations: 0 / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.3699, allocations: 11.94 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3703, allocations: 296.8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.3704, allocations: 30.52 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.3704, allocations: 12.92 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3704, allocations: 0 / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3706, allocations: 71.31 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3706, allocations: 0 / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.3708, allocations: 73.58 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3709, allocations: 51.41 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.3709, allocations: 109.8 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.371, allocations: 33.7 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.371, allocations: 84.14 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3711, allocations: 7.891 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.3711, allocations: 8 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3712, allocations: 318.8 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.3713, allocations: 35.92 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-05/0.3714, allocations: 42.56 kB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.3715, allocations: 69.75 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3715, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002406/0.3717, allocations: 151.2 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.3718, allocations: 39.56 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3718, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3718, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.3719, allocations: 4 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3719, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3721, allocations: 44.03 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3721, allocations: 7.984 kB / 1.062 GB, free: 1.172 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.3722, allocations: 117.7 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3722, allocations: 7.906 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3723, allocations: 15.84 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3723, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3723, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3723, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3724, allocations: 165.6 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3724, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.3725, allocations: 4 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3725, allocations: 0 / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3725, allocations: 4 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3725, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3725, allocations: 400 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3726, allocations: 85.11 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3727, allocations: 88.97 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3727, allocations: 0 / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.3727, allocations: 0 / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.3727, allocations: 15.86 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3727, allocations: 0 / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.3728, allocations: 87.27 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3728, allocations: 0 / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000208/0.373, allocations: 20 kB / 1.062 GB, free: 484 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.3731, allocations: 107.2 kB / 1.062 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.3733, allocations: 119.4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3734, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.3734, allocations: 19.94 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.3736, allocations: 7.984 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.3738, allocations: 138.8 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3741, allocations: 0.6809 MB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.3741, allocations: 0 / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3742, allocations: 11.44 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3742, allocations: 0 / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.0032/0.3774, allocations: 0.9914 MB / 1.064 GB, free: 14.34 MB / 0.8262 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 -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/jenkins/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