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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001072/0.001071, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008549/0.008548, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.968/2.968, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004089, allocations: 10.38 kB / 0.9027 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4378, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008962/0.4388, allocations: 345.8 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.4403, allocations: 1.112 MB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.4403, allocations: 0 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.4403, allocations: 3.938 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.4404, allocations: 8 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.4409, allocations: 117.6 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.441, allocations: 83.81 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.4411, allocations: 11.94 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.4411, allocations: 23.98 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.4412, allocations: 23.91 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.4413, allocations: 4 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.4413, allocations: 19.97 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.4414, allocations: 7.984 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.4414, allocations: 57.5 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.4416, allocations: 79.83 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4416, allocations: 7.938 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4416, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4416, allocations: 4 kB / 1.06 GB, free: 3.086 MB / 0.8106 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.0004516/0.4421, allocations: 357.4 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4421, allocations: 12.03 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.4422, allocations: 8.844 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4423, allocations: 164.4 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.4423, allocations: 4.375 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.4424, allocations: 8.375 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4425, allocations: 42.19 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4425, allocations: 4.188 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4425, allocations: 7.922 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4425, allocations: 0 / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.4426, allocations: 8 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.443, allocations: 296.8 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.4431, allocations: 34.45 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.4431, allocations: 12.92 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.4431, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.4433, allocations: 67.3 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4433, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.4435, allocations: 69.61 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4435, allocations: 55.41 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.4436, allocations: 117.8 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4437, allocations: 25.7 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.4437, allocations: 92.14 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.4438, allocations: 7.812 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.4438, allocations: 17.72 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4439, allocations: 318.8 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.444, allocations: 31.98 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.4441, allocations: 42.56 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4442, allocations: 92.2 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4442, allocations: 3.938 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.4445, allocations: 147.3 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4445, allocations: 37.69 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4445, allocations: 4 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4445, allocations: 8 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.4446, allocations: 4.062 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4446, allocations: 0 / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4448, allocations: 42.34 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4449, allocations: 8 kB / 1.063 GB, free: 0.7109 MB / 0.8106 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.155e-05/0.445, allocations: 121.7 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.445, allocations: 7.906 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.445, allocations: 7.906 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.445, allocations: 0 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.445, allocations: 7.922 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.445, allocations: 4 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4452, allocations: 157.6 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4452, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.4452, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4452, allocations: 3.984 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4452, allocations: 0 / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4452, allocations: 4 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4452, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.4453, allocations: 89.06 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.4454, allocations: 81.02 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4454, allocations: 3.984 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.322e-05/0.4454, allocations: 0 / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.4455, allocations: 4 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.4455, allocations: 288 / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.4455, allocations: 95.27 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4455, allocations: 3.938 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002064/0.4457, allocations: 12 kB / 1.063 GB, free: 16 kB / 0.8106 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.0001584/0.4459, allocations: 99.25 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.4461, allocations: 127.4 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4461, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.4462, allocations: 19.92 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4464, allocations: 17.44 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.4467, allocations: 134.8 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4469, allocations: 0.677 MB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.447, allocations: 8 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.447, allocations: 7.438 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.447, allocations: 8 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.003448/0.4504, allocations: 1.026 MB / 1.065 GB, free: 13.84 MB / 0.8262 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/jenkins/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