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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001465/0.001465, allocations: 111.7 kB / 16.42 MB, free: 6.516 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.001625/0.001625, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.961/1.961, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.067/3.067, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6796, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001724/0.6814, allocations: 0.6 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.6827, allocations: 1.123 MB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.6828, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.6828, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.6829, allocations: 3.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.6833, allocations: 123.5 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.6835, allocations: 99.88 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.6836, allocations: 11.92 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.6837, allocations: 35.92 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.6837, allocations: 35.88 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.6838, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.6839, allocations: 19.98 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.6839, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.6839, allocations: 35.91 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.6841, allocations: 75.8 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6841, allocations: 3.984 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6841, allocations: 4 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6841, allocations: 0 / 1.211 GB, free: 11.47 MB / 0.9356 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.0004031/0.6845, allocations: 381 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6846, allocations: 8.031 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.6846, allocations: 8.875 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.6847, allocations: 168.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.6847, allocations: 8.375 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6848, allocations: 12.31 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.6849, allocations: 42.23 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.6849, allocations: 192 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.6849, allocations: 3.938 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6849, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.6849, allocations: 11.98 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.6853, allocations: 286.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.6854, allocations: 42.44 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.6854, allocations: 12.92 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.6854, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.583e-05/0.6855, allocations: 63.33 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.6855, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.6857, allocations: 69.53 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.6858, allocations: 51.41 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.6858, allocations: 117.8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.6859, allocations: 25.7 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.6859, allocations: 92.12 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.6859, allocations: 3.906 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.686, allocations: 29.7 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.6861, allocations: 318.8 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.6862, allocations: 31.97 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.6863, allocations: 50.56 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.6864, allocations: 88.2 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6864, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002415/0.6866, allocations: 151.1 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.6867, allocations: 37.7 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6867, allocations: 0 / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6867, allocations: 12.05 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.6868, allocations: 0 / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6868, allocations: 4 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.687, allocations: 27.91 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.687, allocations: 4.062 kB / 1.213 GB, free: 9.086 MB / 0.9356 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 7.972e-05/0.6871, allocations: 121.7 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.6871, allocations: 11.98 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.6871, allocations: 7.906 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6871, allocations: 3.938 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6871, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.6872, allocations: 81.02 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.6872, allocations: 4 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.6872, allocations: 0 / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.6873, allocations: 11.92 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001167/0.6874, allocations: 137 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001395/0.6875, allocations: 239 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.881e-05/0.6876, allocations: 8 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.6876, allocations: 91.27 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of Backend: time 2.51e-07/0.6876, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.6881, allocations: 189.8 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004533/0.6886, allocations: 0.5839 MB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.057/0.7456, allocations: 1.135 MB / 1.215 GB, free: 6.367 MB / 0.9356 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