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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.002407/0.002407, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.508/1.508, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 64.5 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.461, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002514/0.4635, allocations: 0.6003 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.4652, allocations: 1.12 MB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.4653, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.4654, allocations: 3.938 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.4654, allocations: 11.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.4659, allocations: 117.5 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.4661, allocations: 99.77 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4662, allocations: 11.98 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.4663, allocations: 31.97 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.4664, allocations: 27.91 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.4664, allocations: 12 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.4665, allocations: 19.98 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.4665, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.4666, allocations: 35.84 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.4668, allocations: 79.84 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4668, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4668, allocations: 3.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4668, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 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.0005866/0.4674, allocations: 377.4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4674, allocations: 16.03 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.4675, allocations: 4.938 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4676, allocations: 172.2 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4677, allocations: 4.375 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.4677, allocations: 8.375 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.4678, allocations: 34.25 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4678, allocations: 4.188 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4679, allocations: 7.922 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4679, allocations: 0 / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.4679, allocations: 8 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.4683, allocations: 300.8 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.053e-05/0.4684, allocations: 30.52 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.4685, allocations: 12.92 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4685, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.4686, allocations: 63.39 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4687, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.4689, allocations: 65.62 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.469, allocations: 55.39 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.4691, allocations: 117.8 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4691, allocations: 25.7 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.4692, allocations: 88.14 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.4692, allocations: 3.906 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.4692, allocations: 29.7 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4694, allocations: 326.8 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.4694, allocations: 27.98 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.4695, allocations: 46.75 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4697, allocations: 88.2 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4697, allocations: 3.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002546/0.4699, allocations: 147.3 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.47, allocations: 41.69 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.47, allocations: 112 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.47, allocations: 15.92 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.4701, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4701, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4703, allocations: 27.88 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4703, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 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 9.998e-05/0.4705, allocations: 133.7 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.4705, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.4705, allocations: 3.906 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4705, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4705, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4705, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4707, allocations: 173.6 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4707, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.4707, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4707, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.4707, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4707, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4707, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.4708, allocations: 92.89 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.4709, allocations: 81.11 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4709, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.4709, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.471, allocations: 11.98 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.471, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.471, allocations: 83.28 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.471, allocations: 0 / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002156/0.4713, allocations: 16 kB / 1.069 GB, free: 9.727 MB / 0.8419 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.0001581/0.4714, allocations: 108.4 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4717, allocations: 127.3 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4717, allocations: 4.125 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.4717, allocations: 12 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4719, allocations: 11.92 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.4722, allocations: 147.7 kB / 1.069 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.4725, allocations: 0.682 MB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.4726, allocations: 19.42 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.4726, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of Templates: time 0.002815/0.4754, allocations: 0.9463 MB / 1.071 GB, free: 7.613 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches