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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001306/0.001306, allocations: 109.6 kB / 16.42 MB, free: 6.465 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.001462/0.001462, allocations: 186.6 kB / 17.35 MB, free: 5.734 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.679/2.679, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001982/1.056, allocations: 0.6045 MB / 1.227 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001565/1.058, allocations: 1.104 MB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/1.058, allocations: 0 / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/1.058, allocations: 3.938 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/1.058, allocations: 11.92 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/1.058, allocations: 126.8 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/1.059, allocations: 99.77 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/1.059, allocations: 3.984 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/1.059, allocations: 39.97 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/1.059, allocations: 31.91 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/1.059, allocations: 11.94 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/1.059, allocations: 19.98 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/1.059, allocations: 15.91 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/1.059, allocations: 27.92 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/1.059, allocations: 79.78 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.059, allocations: 0 / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/1.059, allocations: 0 / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.829e-06/1.059, allocations: 0 / 1.228 GB, free: 11.34 MB / 0.9512 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.000484/1.06, allocations: 385.5 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.06, allocations: 16.03 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/1.06, allocations: 4.938 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/1.06, allocations: 168.3 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/1.06, allocations: 8.375 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/1.06, allocations: 4.375 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/1.06, allocations: 38.19 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/1.06, allocations: 192 / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/1.06, allocations: 11.94 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.06, allocations: 0 / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/1.06, allocations: 4 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/1.061, allocations: 296.9 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/1.061, allocations: 22.52 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/1.061, allocations: 12.92 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/1.061, allocations: 7.938 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/1.061, allocations: 59.39 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/1.061, allocations: 4 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/1.061, allocations: 69.62 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.061, allocations: 55.41 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/1.061, allocations: 117.8 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.061, allocations: 29.7 kB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/1.061, allocations: 88.14 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/1.061, allocations: 3.953 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/1.062, allocations: 29.7 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.062, allocations: 326.8 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/1.062, allocations: 27.98 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/1.062, allocations: 50.5 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/1.062, allocations: 88.2 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.062, allocations: 3.938 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002517/1.062, allocations: 155.2 kB / 1.23 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/1.062, allocations: 41.69 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.062, allocations: 0 / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.062, allocations: 0 / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/1.062, allocations: 4 kB / 1.23 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.062, allocations: 0 / 1.23 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/1.063, allocations: 27.91 kB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.063, allocations: 12.05 kB / 1.231 GB, free: 8.941 MB / 0.9512 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.108e-05/1.063, allocations: 122.3 kB / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/1.063, allocations: 64 / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/1.063, allocations: 11.91 kB / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.063, allocations: 240 / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.063, allocations: 0 / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/1.063, allocations: 85.05 kB / 1.231 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/1.063, allocations: 3.984 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/1.063, allocations: 8 kB / 1.231 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/1.063, allocations: 7.938 kB / 1.231 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001161/1.063, allocations: 132.9 kB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001378/1.063, allocations: 226.8 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.149e-05/1.063, allocations: 12 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.414e-05/1.063, allocations: 91.27 kB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of Backend: time 2.124e-06/1.063, allocations: 0 / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004868/1.064, allocations: 199.8 kB / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00047/1.064, allocations: 0.5865 MB / 1.232 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of Templates: time 0.003767/1.068, allocations: 1.124 MB / 1.233 GB, free: 6.234 MB / 0.9512 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