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.26/2.26, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009997/0.0009997, allocations: 192.6 kB / 487.4 MB, free: 5.051 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.6/1.6, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009391, allocations: 103.7 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.799e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.333, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.394, allocations: 148.6 MB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.394, allocations: 72.08 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005604/1.4, allocations: 1.794 MB / 1.353 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.916e-06/1.4, allocations: 0 / 1.353 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.4, allocations: 3.938 kB / 1.353 GB, free: 34.07 MB / 0.8386 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.0003168/1.4, allocations: 365 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/1.4, allocations: 11.69 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/1.4, allocations: 8.844 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/1.4, allocations: 171.9 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.4, allocations: 3.938 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/1.4, allocations: 4.625 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.995e-05/1.4, allocations: 10.28 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.581e-05/1.4, allocations: 40.31 kB / 1.354 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/1.4, allocations: 0 / 1.354 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/1.4, allocations: 4 kB / 1.354 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/1.4, allocations: 0 / 1.354 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/1.401, allocations: 280.2 kB / 1.354 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/1.401, allocations: 22.36 kB / 1.354 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/1.401, allocations: 9.25 kB / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/1.401, allocations: 0 / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/1.401, allocations: 69 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.401, allocations: 0 / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001494/1.401, allocations: 60.23 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/1.401, allocations: 55.91 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/1.401, allocations: 97.88 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.401, allocations: 33.2 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.401, allocations: 85.38 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/1.401, allocations: 12.11 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/1.401, allocations: 3.875 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.401, allocations: 316.9 kB / 1.355 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/1.401, allocations: 26.56 kB / 1.355 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/1.401, allocations: 44.33 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.402, allocations: 34.72 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.402, allocations: 4 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002554/1.402, allocations: 120.1 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.402, allocations: 34.75 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.402, allocations: 3.844 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.402, allocations: 0 / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/1.402, allocations: 1.891 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.402, allocations: 5.859 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.402, allocations: 37.69 kB / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/1.402, allocations: 6.031 kB / 1.355 GB, free: 32.37 MB / 0.8386 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 () * 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 7.13e-05/1.402, allocations: 112 kB / 1.355 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/1.402, allocations: 6.562 kB / 1.355 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/1.402, allocations: 6.375 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.402, allocations: 2.359 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.402, allocations: 4 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.402, allocations: 1.906 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.749e-05/1.402, allocations: 146.4 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.403, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/1.403, allocations: 2.031 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.403, allocations: 5.25 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/1.403, allocations: 1.922 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.403, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.403, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.275e-05/1.403, allocations: 91.55 kB / 1.355 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/1.403, allocations: 81.62 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/1.403, allocations: 0.5625 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/1.403, allocations: 1.609 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/1.403, allocations: 5.188 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/1.403, allocations: 0.6562 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.006e-05/1.403, allocations: 86.39 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.403, allocations: 0 / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001955/1.403, allocations: 20.72 kB / 1.355 GB, free: 31.83 MB / 0.8386 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 () * 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.0001235/1.403, allocations: 111.9 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001603/1.403, allocations: 122.2 kB / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.403, allocations: 0 / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/1.403, allocations: 11.16 kB / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/1.403, allocations: 14.42 kB / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/1.404, allocations: 67.56 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.404, allocations: 0.6866 MB / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.839e-05/1.404, allocations: 4.578 kB / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/1.404, allocations: 11.31 kB / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.404, allocations: 0 / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.002805/1.407, allocations: 0.9209 MB / 1.357 GB, free: 30.78 MB / 0.8386 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