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.001062/0.001062, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.064/3.064, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 15.47 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00101/0.368, allocations: 349.8 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3698, allocations: 1.116 MB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.3699, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.3699, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.37, allocations: 7.938 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.3706, allocations: 102.7 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3707, allocations: 83.77 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3708, allocations: 11.97 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.3709, allocations: 31.97 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.371, allocations: 27.84 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3711, allocations: 4 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.3712, allocations: 23.98 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.3712, allocations: 0 / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.3713, allocations: 65.53 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3714, allocations: 51.88 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3714, allocations: 0 / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3714, allocations: 0 / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3714, allocations: 0 / 1.061 GB, free: 3.102 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.0004861/0.3719, allocations: 365.4 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.372, allocations: 12.03 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3721, allocations: 8.844 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3722, allocations: 172.3 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3722, allocations: 4.375 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3723, allocations: 4.375 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3724, allocations: 38.25 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3724, allocations: 192 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3724, allocations: 7.938 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3724, allocations: 0 / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.3725, allocations: 4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.373, allocations: 304.8 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.373, allocations: 34.45 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.3731, allocations: 8.922 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3731, allocations: 4 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3732, allocations: 67.3 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3733, allocations: 0 / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002422/0.3735, allocations: 77.61 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3736, allocations: 51.41 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3737, allocations: 109.8 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3737, allocations: 25.7 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.3738, allocations: 88.14 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3738, allocations: 7.812 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3739, allocations: 21.7 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.374, allocations: 318.8 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.3741, allocations: 35.98 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.3742, allocations: 50.55 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3743, allocations: 88.28 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3743, allocations: 3.938 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002776/0.3746, allocations: 147.3 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.3747, allocations: 39.33 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3747, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3747, allocations: 4 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.3748, allocations: 3.938 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3748, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.375, allocations: 43.95 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3751, allocations: 8 kB / 1.063 GB, free: 0.7188 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.0001154/0.3752, allocations: 122.1 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3752, allocations: 7.906 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.3753, allocations: 3.906 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3753, allocations: 3.984 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3753, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3753, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3754, allocations: 165.6 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3754, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.3755, allocations: 12.22 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3755, allocations: 0 / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3755, allocations: 0 / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3755, allocations: 0 / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3755, allocations: 0 / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3756, allocations: 89.05 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3757, allocations: 84.95 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3757, allocations: 3.984 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.3757, allocations: 4 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.3758, allocations: 4 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3758, allocations: 4 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.3758, allocations: 91.25 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 0 / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002146/0.3761, allocations: 16 kB / 1.064 GB, free: 20 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 (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.0002022/0.3763, allocations: 107.2 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3765, allocations: 131.4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3765, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.3766, allocations: 15.98 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.3768, allocations: 12.81 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.3772, allocations: 160.6 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3775, allocations: 0.6849 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.3776, allocations: 7.438 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3776, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002904/0.3805, allocations: 0.922 MB / 1.066 GB, free: 13.91 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/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