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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 175.3 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.2 MB / 0.7948 GB, free: 18.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009144, allocations: 108.2 kB / 0.9346 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.000384, allocations: 12.81 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2714, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.4597, allocations: 149.4 MB / 1.369 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4599, allocations: 63.97 kB / 1.369 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005161/0.4651, allocations: 1.825 MB / 1.371 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4651, allocations: 0 / 1.371 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4652, allocations: 0 / 1.371 GB, free: 2.051 MB / 0.8698 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.0003737/0.4655, allocations: 376.9 kB / 1.371 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4656, allocations: 8.031 kB / 1.371 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.4656, allocations: 4 kB / 1.371 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4658, allocations: 174.9 kB / 1.371 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.4658, allocations: 3.984 kB / 1.371 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.4658, allocations: 4 kB / 1.371 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.4659, allocations: 45.62 kB / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4659, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4659, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.466, allocations: 3.984 kB / 1.371 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.466, allocations: 8 kB / 1.371 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.4664, allocations: 296.8 kB / 1.371 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.4665, allocations: 26.58 kB / 1.371 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.4665, allocations: 0 / 1.371 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.4667, allocations: 63.39 kB / 1.372 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4667, allocations: 0 / 1.372 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/0.4669, allocations: 65.69 kB / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4669, allocations: 59.41 kB / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.467, allocations: 104.9 kB / 1.372 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.467, allocations: 25.7 kB / 1.372 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.4671, allocations: 99.97 kB / 1.372 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.4671, allocations: 3.906 kB / 1.372 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4671, allocations: 4 kB / 1.372 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4672, allocations: 314.8 kB / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.4673, allocations: 27.98 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.4674, allocations: 58.53 kB / 1.372 GB, free: 88 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.762e-05/0.4675, allocations: 61.64 kB / 1.372 GB, free: 20 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4675, allocations: 0 / 1.372 GB, free: 20 kB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002579/0.4678, allocations: 143.4 kB / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.4678, allocations: 43.25 kB / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4678, allocations: 4 kB / 1.373 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4678, allocations: 0 / 1.373 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-05/0.4679, allocations: 8.062 kB / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4679, allocations: 0 / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4681, allocations: 39.81 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4681, allocations: 15.94 kB / 1.373 GB, free: 15.75 MB / 0.8855 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 8.509e-05/0.4682, allocations: 121.8 kB / 1.373 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.4682, allocations: 0 / 1.373 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.4683, allocations: 11.84 kB / 1.373 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4683, allocations: 0 / 1.373 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4683, allocations: 0 / 1.373 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4683, allocations: 0 / 1.373 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.4684, allocations: 169.6 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4684, allocations: 0 / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.4684, allocations: 0 / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4684, allocations: 4 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4684, allocations: 0 / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4684, allocations: 4 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4685, allocations: 3.984 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.4686, allocations: 85.02 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.4686, allocations: 85.02 kB / 1.373 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4686, allocations: 4 kB / 1.373 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.4687, allocations: 0 / 1.373 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.4687, allocations: 3.984 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4687, allocations: 4 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.4687, allocations: 87.67 kB / 1.373 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4688, allocations: 0 / 1.373 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002115/0.469, allocations: 23.98 kB / 1.373 GB, free: 15.05 MB / 0.8855 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.0001491/0.4691, allocations: 111 kB / 1.373 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.4693, allocations: 123.6 kB / 1.373 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4693, allocations: 0 / 1.373 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.4694, allocations: 19.98 kB / 1.373 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.4695, allocations: 17.62 kB / 1.373 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.4698, allocations: 134.8 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.47, allocations: 0.6848 MB / 1.374 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.47, allocations: 3.984 kB / 1.374 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.4701, allocations: 11.44 kB / 1.374 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.4701, allocations: 4 kB / 1.374 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.003619/0.4737, allocations: 0.9669 MB / 1.375 GB, free: 12.92 MB / 0.8855 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches