Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.9 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 169 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.000896, allocations: 92.56 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.212e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/1.027, allocations: 131.4 MB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.027, allocations: 73.3 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0018/1.029, allocations: 0.6579 MB / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.029, allocations: 0 / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/1.029, allocations: 4 kB / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003706/1.029, allocations: 337.4 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.029, allocations: 8.031 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/1.029, allocations: 0 / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.029, allocations: 174.1 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.029, allocations: 3.984 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/1.029, allocations: 4 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/1.03, allocations: 32.83 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.03, allocations: 4 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.03, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.03, allocations: 4 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/1.03, allocations: 27.05 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/1.03, allocations: 254.9 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/1.03, allocations: 93.88 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/1.031, allocations: 8.922 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/1.031, allocations: 0 / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/1.031, allocations: 65.88 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.466e-06/1.031, allocations: 0 / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001727/1.031, allocations: 52.05 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.031, allocations: 51.41 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/1.031, allocations: 103.7 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.031, allocations: 25.7 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/1.031, allocations: 83.45 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.031, allocations: 15.75 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/1.031, allocations: 0 / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.031, allocations: 321.8 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/1.031, allocations: 11.44 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/1.031, allocations: 25.14 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/1.031, allocations: 4 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.031, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.052e-05/1.031, allocations: 55.31 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.032, allocations: 4 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.032, allocations: 8.016 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.032, allocations: 7.938 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/1.032, allocations: 3.938 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.032, allocations: 4 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/1.032, allocations: 7.984 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/1.032, allocations: 0 / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 7.191e-05/1.032, allocations: 111.5 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/1.032, allocations: 3.906 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/1.032, allocations: 15.91 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/1.032, allocations: 0 / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.032, allocations: 0.875 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.032, allocations: 3.938 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/1.032, allocations: 169.4 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.032, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/1.032, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.032, allocations: 4 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/1.032, allocations: 6.125 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.032, allocations: 3.938 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.032, allocations: 3.984 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/1.032, allocations: 84.58 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/1.032, allocations: 81.11 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.032, allocations: 144 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/1.032, allocations: 7.984 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.032, allocations: 7.984 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.032, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.77e-05/1.032, allocations: 90.84 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001626/1.033, allocations: 4 kB / 1.023 GB, free: 176 kB / 0.6355 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,booPul.y,booPul.pulseStart) * Number of discrete 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.0001334/1.033, allocations: 101.7 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.305e-05/1.033, allocations: 26.44 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.033, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/1.033, allocations: 15.94 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.033, allocations: 18.06 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/1.033, allocations: 80.11 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.034, allocations: 0.6809 MB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.36e-05/1.034, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/1.034, allocations: 11.44 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/1.034, allocations: 3.938 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.002441/1.036, allocations: 494.4 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches