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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.453/2.453, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001496/0.001496, allocations: 178.8 kB / 0.4902 GB, free: 2.238 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.572/1.572, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001163/0.001163, allocations: 103 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 17.94 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3107, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5099, allocations: 150.2 MB / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/0.5104, allocations: 75.94 kB / 1.376 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005745/0.5162, allocations: 1.814 MB / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5162, allocations: 0 / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.5163, allocations: 0 / 1.378 GB, free: 1.461 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.0004532/0.5167, allocations: 373 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5168, allocations: 8.562 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.5168, allocations: 4 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.517, allocations: 174.9 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.517, allocations: 4 kB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.517, allocations: 4 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5172, allocations: 45.69 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5172, allocations: 0 / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5172, allocations: 3.938 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5172, allocations: 0 / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.5173, allocations: 4 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.5177, allocations: 296.8 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.5178, allocations: 26.58 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5178, allocations: 4 kB / 1.379 GB, free: 384 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.518, allocations: 67.3 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.518, allocations: 3.938 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.5182, allocations: 65.67 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5183, allocations: 51.41 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.5184, allocations: 101 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.5184, allocations: 37.69 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.5185, allocations: 88.14 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.5185, allocations: 11.81 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.5185, allocations: 3.938 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5186, allocations: 314.8 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.5187, allocations: 39.91 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.5188, allocations: 46.88 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.5189, allocations: 61.69 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5189, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002461/0.5192, allocations: 147.3 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.5192, allocations: 29.7 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5192, allocations: 4 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5192, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.5193, allocations: 8.062 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5193, allocations: 80 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.5195, allocations: 40.03 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.5195, allocations: 15.92 kB / 1.38 GB, free: 15.17 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.95e-05/0.5196, allocations: 118.5 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.5197, allocations: 7.906 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.5197, allocations: 3.906 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5197, allocations: 8.234 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5197, allocations: 0 / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5197, allocations: 7.969 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.5198, allocations: 165.6 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5199, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.5199, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5199, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5199, allocations: 11.98 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5199, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5199, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.52, allocations: 85.08 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5201, allocations: 84.95 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5201, allocations: 4 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.791e-05/0.5201, allocations: 3.984 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.5202, allocations: 3.938 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5202, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.5202, allocations: 87.27 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5202, allocations: 0 / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002162/0.5205, allocations: 27.94 kB / 1.38 GB, free: 14.46 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.0001542/0.5206, allocations: 104 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.5208, allocations: 127.4 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5209, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.5209, allocations: 15.94 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.5211, allocations: 11.89 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.5214, allocations: 138.8 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.5216, allocations: 0.6887 MB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.5217, allocations: 0 / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.5217, allocations: 11.44 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.583e-06/0.5217, allocations: 0 / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.003327/0.525, allocations: 0.9891 MB / 1.382 GB, free: 12.32 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches