Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.406/2.406, allocations: 393.5 MB / 408.4 MB, free: 11 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.001161/0.001162, allocations: 178.4 kB / 0.4902 GB, free: 2.23 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.732/1.732, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001008/0.001009, allocations: 91 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 10.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.5286, allocations: 150.2 MB / 1.376 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.5289, allocations: 67.97 kB / 1.376 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005273/0.5342, allocations: 1.81 MB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5342, allocations: 4 kB / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5342, 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.0003707/0.5346, allocations: 369 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5347, allocations: 16.5 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.5347, allocations: 4 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.5348, allocations: 167 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.5349, allocations: 8 kB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.5349, allocations: 4 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.535, allocations: 41.69 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.535, allocations: 7.938 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.535, allocations: 0 / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.535, allocations: 0 / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.5351, allocations: 7.984 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.5355, allocations: 292.9 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/0.5355, allocations: 26.56 kB / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5356, allocations: 0 / 1.379 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.5357, allocations: 79.28 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5357, allocations: 0 / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001976/0.5359, allocations: 61.69 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.536, allocations: 51.41 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.5361, allocations: 104.9 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5361, allocations: 33.7 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.5362, allocations: 84.14 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.5362, allocations: 11.84 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.5362, allocations: 4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5363, allocations: 322.8 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.5364, allocations: 31.98 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.5365, allocations: 42.88 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.5366, allocations: 57.69 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5366, allocations: 4 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002411/0.5368, allocations: 155.2 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5369, allocations: 35.88 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5369, allocations: 8.016 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5369, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.537, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.537, allocations: 3.984 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5372, allocations: 36.09 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.5372, allocations: 15.95 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: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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.965e-05/0.5373, allocations: 121.8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.5373, allocations: 0 / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.5373, allocations: 7.906 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5373, allocations: 4 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5373, allocations: 0 / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5374, allocations: 4 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.5375, allocations: 173.5 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5375, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.5375, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5375, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.5375, allocations: 4 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5375, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5375, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.5376, allocations: 93.06 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.5377, allocations: 77.11 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5377, allocations: 4 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.5377, allocations: 3.938 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.5378, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.5378, allocations: 7.984 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.5378, allocations: 83.28 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5378, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002024/0.538, allocations: 23.94 kB / 1.38 GB, free: 14.48 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0001954/0.5382, allocations: 116 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.5384, allocations: 127.3 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5385, allocations: 0 / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.5385, 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.0001465/0.5387, allocations: 13.62 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.0002656/0.5389, allocations: 134.8 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.5392, allocations: 0.6809 MB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.5392, allocations: 256 / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.5392, allocations: 19.42 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5392, allocations: 0 / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.002996/0.5422, allocations: 0.9671 MB / 1.382 GB, free: 12.34 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches