Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9646/0.9661, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002132/0.9683, allocations: 0.6068 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.9699, allocations: 1.111 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.9699, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.97, allocations: 1.156 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.97, allocations: 8.547 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.9705, allocations: 123.6 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.9707, allocations: 99.55 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.9708, allocations: 8.625 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.9709, allocations: 34.34 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.971, allocations: 31.95 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.9711, allocations: 8.469 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.9712, allocations: 21.62 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.9712, allocations: 11.33 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.9713, allocations: 26.38 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.9715, allocations: 87.89 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9715, allocations: 0 / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9715, allocations: 5.156 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.9715, allocations: 0 / 1.091 GB, free: 4.102 MB / 0.8575 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.0004579/0.972, allocations: 377.4 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.972, allocations: 9.312 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.9721, allocations: 5.094 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.9722, allocations: 176 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.9722, allocations: 3.469 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9722, allocations: 4.812 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.9724, allocations: 40.34 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9724, allocations: 4.188 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9724, allocations: 4.625 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.9724, allocations: 4.781 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.9725, allocations: 11.05 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.9729, allocations: 291.7 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.9729, allocations: 35.48 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.973, allocations: 12.81 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.973, allocations: 4.906 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.9731, allocations: 62.62 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.9731, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.9734, allocations: 69.42 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.9734, allocations: 57.08 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.9735, allocations: 115.2 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.9735, allocations: 27.73 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.9736, allocations: 86.98 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.9736, allocations: 11 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.9736, allocations: 30.64 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.9737, allocations: 313.7 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.9738, allocations: 31.69 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.9739, allocations: 50.69 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.974, allocations: 90.11 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.974, allocations: 3.938 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002649/0.9743, allocations: 145.1 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.9743, allocations: 35.61 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9744, allocations: 1.625 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.9744, allocations: 1.656 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.9744, allocations: 2.812 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9745, allocations: 1.266 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.9747, allocations: 40.09 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.9747, allocations: 6.391 kB / 1.093 GB, free: 2.117 MB / 0.8575 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,booPul.y,$PRE.booPul.y,booToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.9748, allocations: 123.7 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.9748, allocations: 2.375 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.9748, allocations: 5.75 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9749, allocations: 0.7812 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9749, allocations: 0.7812 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9749, allocations: 4.797 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.952e-05/0.975, allocations: 163.5 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.975, allocations: 0.6875 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.975, allocations: 10.75 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.975, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.975, allocations: 2.438 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.975, allocations: 3.984 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.975, allocations: 5.344 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.9752, allocations: 91.22 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.9752, allocations: 83.08 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.9752, allocations: 1.859 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.9752, allocations: 8.656 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.9753, allocations: 2.938 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.9753, allocations: 5.938 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.9753, allocations: 83 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9753, allocations: 0 / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002409/0.9756, allocations: 19.81 kB / 1.093 GB, free: 1.496 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.9758, allocations: 105.3 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.9761, allocations: 123 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9762, allocations: 3.938 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.9762, allocations: 18.72 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.9765, allocations: 11.42 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.9769, allocations: 151.2 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.9772, allocations: 0.6838 MB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.9772, allocations: 10.38 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9772, allocations: 0 / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of Templates: time 0.004394/0.9816, allocations: 0.9388 MB / 1.095 GB, free: 372 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches