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.001677/0.001677, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001912/0.001912, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003167/1.012, allocations: 0.6086 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001643/1.014, allocations: 1.113 MB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/1.014, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/1.014, allocations: 4.547 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/1.014, allocations: 9.625 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/1.014, allocations: 128.5 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/1.015, allocations: 92.16 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/1.015, allocations: 12.02 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/1.015, allocations: 38.3 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/1.015, allocations: 35.47 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/1.015, allocations: 8.125 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/1.015, allocations: 22.33 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/1.015, allocations: 6.984 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/1.015, allocations: 26.69 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/1.015, allocations: 87.83 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.015, allocations: 0 / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/1.015, allocations: 1.125 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.072e-06/1.015, allocations: 0 / 1.091 GB, free: 4.109 MB / 0.8575 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.0004657/1.016, allocations: 381.8 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.016, allocations: 8.938 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/1.016, allocations: 5.844 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/1.016, allocations: 171.9 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/1.016, allocations: 2.531 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/1.016, allocations: 5.516 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.016, allocations: 43.42 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.016, allocations: 0.8438 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.016, allocations: 5.281 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/1.016, allocations: 4 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/1.016, allocations: 10.89 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/1.017, allocations: 291.7 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/1.017, allocations: 35.55 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/1.017, allocations: 9.266 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/1.017, allocations: 4.453 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/1.017, allocations: 67.16 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.017, allocations: 0 / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002126/1.017, allocations: 69.25 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.017, allocations: 57.34 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/1.017, allocations: 110.2 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.017, allocations: 28.11 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/1.017, allocations: 87.61 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.017, allocations: 10.89 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/1.018, allocations: 33.78 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/1.018, allocations: 314 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/1.018, allocations: 28.52 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/1.018, allocations: 54.33 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/1.018, allocations: 90.05 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.018, allocations: 3.938 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003176/1.018, allocations: 145.2 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/1.018, allocations: 39.44 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.018, allocations: 0.75 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.018, allocations: 1.469 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/1.018, allocations: 6.594 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/1.018, allocations: 1.984 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.019, allocations: 36.78 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/1.019, allocations: 5.672 kB / 1.093 GB, free: 2.121 MB / 0.8575 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.55e-05/1.019, allocations: 122.5 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/1.019, allocations: 2.484 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.019, allocations: 9.25 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.019, allocations: 0.75 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.019, allocations: 1.672 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.019, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.019, allocations: 163.2 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.019, allocations: 4.703 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/1.019, allocations: 6.953 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.019, allocations: 0.7188 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/1.019, allocations: 1.578 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.019, allocations: 0.75 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.019, allocations: 3.938 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/1.019, allocations: 91.52 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/1.019, allocations: 79.5 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.019, allocations: 5.453 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/1.019, allocations: 0.5625 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.019, allocations: 3.297 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/1.019, allocations: 1.688 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.5e-05/1.019, allocations: 91.5 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.019, allocations: 0.7812 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002231/1.02, allocations: 14.5 kB / 1.093 GB, free: 1.516 MB / 0.8575 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.0001475/1.02, allocations: 104.9 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002629/1.02, allocations: 126.5 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.02, allocations: 0.75 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/1.02, allocations: 19.95 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/1.02, allocations: 14.09 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/1.021, allocations: 154.9 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/1.021, allocations: 0.6844 MB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/1.021, allocations: 13.58 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.021, allocations: 0.7812 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of Templates: time 0.003643/1.025, allocations: 0.929 MB / 1.095 GB, free: 384 kB / 0.8575 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/jenkins1/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