Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009989/0.009989, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001865/0.001865, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.896/2.896, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4505, allocations: 151.6 MB / 1.167 GB, free: 6.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002146/0.4527, allocations: 0.605 MB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.4545, allocations: 1.121 MB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.4545, allocations: 4 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.4546, allocations: 3.938 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-05/0.4547, allocations: 3.938 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.4553, allocations: 127.6 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.4554, allocations: 99.83 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4556, allocations: 4 kB / 1.169 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.4557, allocations: 39.91 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4558, allocations: 31.89 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.4558, allocations: 8 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.4559, allocations: 23.92 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.4559, allocations: 4 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.456, allocations: 35.89 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.4562, allocations: 83.72 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4562, allocations: 7.938 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4562, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4563, allocations: 0 / 1.169 GB, free: 4.707 MB / 0.92 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.000562/0.4568, allocations: 381 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4569, allocations: 8.031 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.4569, allocations: 4.938 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4571, allocations: 160.4 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.4571, allocations: 8.359 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4572, allocations: 8.375 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4573, allocations: 42.25 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4573, allocations: 192 / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4573, allocations: 3.938 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4573, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.4574, allocations: 8 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.458, allocations: 300.7 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.421e-05/0.4581, allocations: 30.52 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.4581, allocations: 16.92 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.4582, allocations: 3.984 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.4583, allocations: 63.33 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4583, allocations: 3.938 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002446/0.4586, allocations: 65.67 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4586, allocations: 55.41 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4587, allocations: 117.8 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.4588, allocations: 25.7 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.4588, allocations: 88.14 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.4589, allocations: 7.953 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.4589, allocations: 33.64 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4591, allocations: 318.8 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.4592, allocations: 27.98 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.4593, allocations: 50.5 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4594, allocations: 88.27 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4594, allocations: 3.938 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.4597, allocations: 143.4 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.4597, allocations: 41.69 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4598, allocations: 8 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4598, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.4598, allocations: 4.062 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4599, allocations: 7.938 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4601, allocations: 27.92 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4601, allocations: 4 kB / 1.171 GB, free: 2.32 MB / 0.92 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 0.0001118/0.4602, allocations: 124.2 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.4602, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.4603, allocations: 3.906 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4603, allocations: 4 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4603, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4603, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.4605, allocations: 173.6 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4605, allocations: 0 / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.4605, allocations: 4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4605, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.4605, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4605, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4605, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.4607, allocations: 100.9 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4608, allocations: 81.05 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4608, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.4608, allocations: 4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4608, allocations: 7.984 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4609, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.4609, allocations: 83.28 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4609, allocations: 0 / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002274/0.4612, allocations: 19.94 kB / 1.171 GB, free: 1.621 MB / 0.92 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.0001656/0.4613, allocations: 107.2 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.4617, allocations: 127.3 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4617, allocations: 3.938 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.4618, allocations: 12 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.462, allocations: 15.92 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.4623, allocations: 122.1 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.4627, allocations: 0.6811 MB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.4627, allocations: 3.984 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.4627, allocations: 11.44 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of SimCode: time 2.815e-06/0.4628, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of Templates: time 0.004838/0.4676, allocations: 1.083 MB / 1.173 GB, free: 15.4 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches