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.001064/0.001064, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00107/0.00107, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.696, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001766/0.6978, allocations: 0.6178 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.6997, allocations: 1.112 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.6998, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.6998, allocations: 3.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.6999, allocations: 7.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.7005, allocations: 127 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.7007, allocations: 99.8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.7008, allocations: 8 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.7009, allocations: 27.98 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.701, allocations: 39.88 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.7011, allocations: 8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.7011, allocations: 19.98 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.7012, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.7012, allocations: 39.78 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.7014, allocations: 83.78 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7014, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7014, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.7014, allocations: 4 kB / 1.211 GB, free: 11.45 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.0004504/0.7019, allocations: 381 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.7019, allocations: 8.031 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.702, allocations: 4.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.7021, allocations: 172.3 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7021, allocations: 8.359 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.7022, allocations: 4.375 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.7023, allocations: 38.25 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7023, allocations: 8.125 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.7023, allocations: 3.938 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7023, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.7023, allocations: 15.94 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.7027, allocations: 290.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.7028, allocations: 26.52 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.7028, allocations: 12.92 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.7028, allocations: 4 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.703, allocations: 63.33 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.703, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001982/0.7032, allocations: 77.56 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.7033, allocations: 51.41 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.7034, allocations: 109.8 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.7034, allocations: 29.7 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.7034, allocations: 88.14 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.7035, allocations: 7.906 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.7035, allocations: 29.7 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7036, allocations: 314.8 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.7037, allocations: 35.92 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.7038, allocations: 50.62 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.7039, allocations: 92.2 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7039, allocations: 3.938 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002359/0.7042, allocations: 151.2 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.7042, allocations: 37.69 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7042, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7042, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.7043, allocations: 7.938 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7043, allocations: 0 / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.7045, allocations: 35.97 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.7045, allocations: 4 kB / 1.213 GB, free: 9.059 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 8.74e-05/0.7046, allocations: 121.8 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.7046, allocations: 4 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.7047, allocations: 3.906 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7047, allocations: 4 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7047, allocations: 0 / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.7047, allocations: 4 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.7048, allocations: 169.6 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7048, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.7049, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7049, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7049, allocations: 8 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7049, allocations: 0 / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7049, allocations: 3.938 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.705, allocations: 92.89 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.705, allocations: 81.11 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.7051, allocations: 4 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.7051, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.7051, allocations: 0 / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.7051, allocations: 11.98 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.7052, allocations: 79.28 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7052, allocations: 0 / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002046/0.7054, allocations: 20 kB / 1.213 GB, free: 8.352 MB / 0.9356 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.0001239/0.7055, allocations: 103.2 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.7057, allocations: 127.3 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7057, allocations: 0 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.7058, allocations: 19.94 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.706, allocations: 14.42 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.7063, allocations: 155.6 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.7065, allocations: 0.6847 MB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.7065, allocations: 11.44 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7065, allocations: 0 / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of Templates: time 0.002219/0.7087, allocations: 0.9243 MB / 1.215 GB, free: 6.254 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