Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 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.001823/0.001823, allocations: 197.2 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.868, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002457/0.8705, allocations: 0.5966 MB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.8724, allocations: 1.12 MB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.8725, allocations: 1.5 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.8726, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.8727, allocations: 5.156 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.8733, allocations: 122 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.8735, allocations: 103.4 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.8737, allocations: 6.781 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.8738, allocations: 32.98 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.8739, allocations: 26.94 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.8739, allocations: 8.062 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.874, allocations: 26.62 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.8741, allocations: 5.297 kB / 0.9516 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.8741, allocations: 33.64 kB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.8743, allocations: 83.12 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8743, allocations: 1.188 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8743, allocations: 0 / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8744, allocations: 0 / 0.9517 GB, free: 7.52 MB / 0.7169 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.0005786/0.8749, allocations: 382.4 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.875, allocations: 10.22 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.8751, allocations: 8.625 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8752, allocations: 166.8 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.8753, allocations: 14.98 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.8753, allocations: 9.25 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.8754, allocations: 35.75 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.8755, allocations: 192 / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8755, allocations: 7.938 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.8755, allocations: 1.25 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.8756, allocations: 9.031 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.876, allocations: 292.2 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.056e-05/0.8761, allocations: 33.27 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.8761, allocations: 11.92 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.8762, allocations: 1.406 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.8764, allocations: 71.41 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.8764, allocations: 0 / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002787/0.8767, allocations: 75.17 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.8767, allocations: 52.03 kB / 0.9528 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.8768, allocations: 112 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.8768, allocations: 26.89 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.8769, allocations: 86.86 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.8769, allocations: 9.094 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.877, allocations: 30.73 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.8771, allocations: 320.1 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.8772, allocations: 28.23 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.8773, allocations: 52.66 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.8774, allocations: 86.2 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8774, allocations: 3.938 kB / 0.9536 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002549/0.8776, allocations: 144.9 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.8777, allocations: 41.19 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.8777, allocations: 1.188 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8777, allocations: 5.344 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.8778, allocations: 1.438 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8778, allocations: 1.5 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.8781, allocations: 32.12 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.8781, allocations: 9.906 kB / 0.9538 GB, free: 5.414 MB / 0.7169 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.593e-05/0.8782, allocations: 122 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.8782, allocations: 5.375 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.8783, allocations: 9.344 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8783, allocations: 1.406 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8783, allocations: 0 / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8783, allocations: 3.984 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.8784, allocations: 164.9 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8784, allocations: 0 / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.8785, allocations: 6.75 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.8785, allocations: 0 / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8785, allocations: 5.484 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.8785, allocations: 8.047 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8785, allocations: 1.312 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.8786, allocations: 89.91 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.8787, allocations: 82.27 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.8787, allocations: 4 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.8787, allocations: 4.891 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.8787, allocations: 6.281 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.8788, allocations: 1.281 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.8788, allocations: 84.41 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8788, allocations: 4.938 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.879, allocations: 18.61 kB / 0.9544 GB, free: 4.766 MB / 0.7169 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.0001925/0.8792, allocations: 101.9 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.8795, allocations: 122.5 kB / 0.9546 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8795, allocations: 5.25 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.8796, allocations: 16.92 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.8798, allocations: 13.72 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.8802, allocations: 131.2 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.8804, allocations: 0.6832 MB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.8804, allocations: 2.125 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.8805, allocations: 9.75 kB / 0.9554 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8805, allocations: 0 / 0.9554 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.003765/0.8842, allocations: 1.09 MB / 0.9565 GB, free: 3.156 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches