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.006784/0.006784, allocations: 102.7 kB / 15.73 MB, free: 5.957 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.001274/0.001274, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.289/2.289, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9726/0.9741, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001911/0.976, allocations: 0.6112 MB / 1.088 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.9779, allocations: 1.115 MB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.68e-05/0.9779, allocations: 0.9375 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.358e-05/0.978, allocations: 0.5156 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.9781, allocations: 13.73 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.9788, allocations: 124.1 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.979, allocations: 87.23 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.9792, allocations: 12.03 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.9793, allocations: 42.5 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.9795, allocations: 28.8 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.9795, allocations: 7.219 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.9797, allocations: 22.28 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.9797, allocations: 11.38 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.9798, allocations: 30.22 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.98, allocations: 87.67 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.98, allocations: 0 / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.907e-06/0.9801, allocations: 0.875 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.9801, allocations: 4 kB / 1.09 GB, free: 4.121 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.0006559/0.9807, allocations: 377 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.9808, allocations: 9.531 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.9809, allocations: 6.25 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.981, allocations: 171 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.981, allocations: 4.516 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.9811, allocations: 4.875 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.9812, allocations: 43.44 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9812, allocations: 192 / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.9812, allocations: 9 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9812, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.9813, allocations: 15.27 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.9819, allocations: 288.4 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/0.9819, allocations: 34.36 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.982, allocations: 9.734 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.982, allocations: 4 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.9822, allocations: 59.42 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.9822, allocations: 0 / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003034/0.9825, allocations: 69.48 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.9826, allocations: 61.5 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.9827, allocations: 109.8 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.9827, allocations: 32.69 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.9828, allocations: 91.19 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.9828, allocations: 11.16 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.9829, allocations: 34.62 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.983, allocations: 313 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.9831, allocations: 32.2 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.9832, allocations: 46.14 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.9833, allocations: 90.47 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9833, allocations: 3.938 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002969/0.9836, allocations: 149.3 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.9837, allocations: 39.42 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9837, allocations: 0.7188 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9837, allocations: 2.25 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.9838, allocations: 2.953 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.9838, allocations: 0.7188 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.984, allocations: 36.98 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.984, allocations: 5.469 kB / 1.092 GB, free: 2.137 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 7.316e-05/0.9841, allocations: 120.4 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.9841, allocations: 1.688 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.9842, allocations: 10.81 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9842, allocations: 0.8438 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9842, allocations: 0 / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9842, allocations: 1.359 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.9843, allocations: 166.9 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9843, allocations: 4.688 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.9843, allocations: 2.906 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9843, allocations: 0 / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.9844, allocations: 1.547 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9844, allocations: 0.75 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9844, allocations: 0.75 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.9845, allocations: 87.56 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.9845, allocations: 86.91 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.9845, allocations: 1.953 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.9846, allocations: 4.531 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.9846, allocations: 3.281 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.9846, allocations: 2.547 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.9846, allocations: 86.64 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9846, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002178/0.9849, allocations: 20.11 kB / 1.093 GB, free: 1.531 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.0001319/0.985, allocations: 108 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.9852, allocations: 123.8 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9853, allocations: 0 / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.9853, allocations: 18.42 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.9855, allocations: 15.64 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.9858, allocations: 120.7 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.9859, allocations: 0.6882 MB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.9859, allocations: 2.344 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.986, allocations: 13.94 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.986, allocations: 0 / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of Templates: time 0.003935/0.9899, allocations: 1.081 MB / 1.095 GB, free: 392 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/jenkins/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