Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001163/0.001164, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001584/0.001584, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437.7 MB / 0.7117 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 16 kB / 0.8722 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8428, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007973/0.8436, allocations: 328.4 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.8453, allocations: 1.089 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.8453, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.8454, allocations: 3.984 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.8455, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.8461, allocations: 119.4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.8462, allocations: 63.89 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.8464, allocations: 11.98 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.8465, allocations: 31.91 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.8466, allocations: 19.91 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.8466, allocations: 8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.8467, allocations: 15.98 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.8467, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.8468, allocations: 37.64 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.847, allocations: 55.86 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.847, allocations: 4 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.454e-06/0.847, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.847, allocations: 3.938 kB / 1.024 GB, free: 14.19 MB / 0.7794 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.0005909/0.8476, allocations: 366.9 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.8477, allocations: 8.562 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.8477, allocations: 15.84 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.8479, allocations: 163.1 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.8479, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.848, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.8481, allocations: 49.64 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8481, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.8481, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.8482, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.8482, allocations: 11.92 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.8488, allocations: 292.9 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.8489, allocations: 34.56 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.849, allocations: 8.922 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.849, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.8492, allocations: 63.33 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.8492, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002611/0.8495, allocations: 69.59 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.8495, allocations: 55.41 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.8497, allocations: 109.8 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8497, allocations: 25.7 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.8498, allocations: 92.12 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.8498, allocations: 11.89 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.8498, allocations: 0 / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.85, allocations: 314.8 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.8501, allocations: 27.98 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.8502, allocations: 58.48 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.8503, allocations: 57.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.8503, allocations: 3.953 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002799/0.8506, allocations: 155.2 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.8507, allocations: 33.7 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8507, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8507, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.8508, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8508, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.8511, allocations: 43.95 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.8511, allocations: 8 kB / 1.026 GB, free: 11.88 MB / 0.7794 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8512, allocations: 113.8 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.8512, allocations: 7.953 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.8513, allocations: 20.06 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8513, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8513, allocations: 7.938 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8513, allocations: 3.984 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.8515, allocations: 157.6 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8515, allocations: 3.984 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.8515, allocations: 7.953 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8515, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.8515, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8515, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8515, allocations: 4 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.8517, allocations: 85.12 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.8517, allocations: 81.09 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.8517, allocations: 3.953 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.8518, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.8518, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.8518, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.8519, allocations: 95.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8519, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002171/0.8521, allocations: 16 kB / 1.027 GB, free: 11.18 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.8523, allocations: 103.2 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.8526, allocations: 131.4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8526, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.8527, allocations: 11.94 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.8529, allocations: 8.125 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.8533, allocations: 138.5 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.8537, allocations: 0.6809 MB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.8537, allocations: 7.984 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.8537, allocations: 7.438 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8537, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003715/0.8574, allocations: 0.9964 MB / 1.029 GB, free: 9.047 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches