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.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 175.4 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008973/0.0008972, allocations: 82.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 9.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.4681, allocations: 131.5 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4684, allocations: 67.97 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001819/0.4703, allocations: 0.6649 MB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4703, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4703, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 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.0004874/0.4708, allocations: 335.3 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.4709, allocations: 8.031 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.4709, allocations: 15.84 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.4711, allocations: 175 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4711, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.4711, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4713, allocations: 41.69 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4713, allocations: 3.938 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4713, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4713, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.4714, allocations: 12 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.472, allocations: 264.9 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.4724, allocations: 94.5 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4724, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.4726, allocations: 63.48 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4726, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002165/0.4729, allocations: 61.59 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4729, allocations: 55.41 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.473, allocations: 101 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4731, allocations: 25.7 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.4731, allocations: 88.08 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.4732, allocations: 7.906 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.4732, allocations: 3.938 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4734, allocations: 322.8 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.4734, allocations: 8 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.4734, allocations: 21.72 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.4735, allocations: 8 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4735, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.757e-05/0.4736, allocations: 57.62 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4736, allocations: 6.656 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4736, allocations: 7.984 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4736, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.917e-05/0.4737, allocations: 4 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4737, allocations: 4.031 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.4737, allocations: 7.906 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.4738, allocations: 4 kB / 1.031 GB, free: 9.602 MB / 0.6823 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 () * Number of clocked 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 0.0001071/0.4739, allocations: 117.8 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.4739, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.4739, allocations: 11.84 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4739, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4739, allocations: 384 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.474, allocations: 8 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4741, allocations: 161.6 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4741, allocations: 4 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.4742, allocations: 4 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4742, allocations: 3.938 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4742, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4742, allocations: 3.984 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4742, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.4743, allocations: 85.08 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.4744, allocations: 85 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.4744, allocations: 4 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.4745, allocations: 8 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.4746, allocations: 3.984 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.4746, allocations: 4 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.4746, allocations: 83.28 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4746, allocations: 0 / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001648/0.4748, allocations: 4 kB / 1.031 GB, free: 8.918 MB / 0.6823 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 () * 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.0001427/0.4749, allocations: 107.2 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4751, allocations: 24.22 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4751, allocations: 3.938 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.4751, allocations: 15.98 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4753, allocations: 12.47 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.4756, allocations: 146.6 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4761, allocations: 0.6887 MB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.4761, allocations: 0 / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.4761, allocations: 11.44 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/0.4761, allocations: 0 / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of Templates: time 0.00242/0.4786, allocations: 474.3 kB / 1.033 GB, free: 7.395 MB / 0.6823 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