Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.28e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002868/0.0029, allocations: 0.6035 MB / 0.8114 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.005675, allocations: 1.132 MB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.005739, allocations: 0 / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/0.005783, allocations: 4.5 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.005883, allocations: 9 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/0.006604, allocations: 125.2 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.006849, allocations: 83.83 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.006945, allocations: 8 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.007118, allocations: 47.91 kB / 0.8127 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.007271, allocations: 32.72 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.00731, allocations: 8 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.007421, allocations: 20.95 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.00745, allocations: 8 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.007537, allocations: 27.91 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007809, allocations: 101.2 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.007813, allocations: 0 / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007814, allocations: 0 / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.007819, allocations: 0 / 0.8129 GB, free: 14.78 MB / 0.7292 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.0007917/0.008611, allocations: 309.7 kB / 0.8132 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.008679, allocations: 12.03 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.008789, allocations: 8.922 kB / 0.8132 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.008984, allocations: 109.8 kB / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.009023, allocations: 384 / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.009059, allocations: 5.719 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.009252, allocations: 42.25 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.009266, allocations: 192 / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.009281, allocations: 4.312 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.009288, allocations: 1.969 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.009372, allocations: 15.94 kB / 0.8134 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.01, allocations: 220.6 kB / 0.8136 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.0101, allocations: 28.86 kB / 0.8137 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.01014, allocations: 12.92 kB / 0.8137 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.01016, allocations: 3.938 kB / 0.8137 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.01044, allocations: 67.33 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.01044, allocations: 0 / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003465/0.01079, allocations: 81.55 kB / 0.8138 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.01087, allocations: 52.12 kB / 0.8139 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.01105, allocations: 113.8 kB / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.01111, allocations: 30.17 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01121, allocations: 85.8 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.01124, allocations: 11.94 kB / 0.8141 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01135, allocations: 33.7 kB / 0.8141 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002689/0.01162, allocations: 318.8 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.0118, allocations: 58.31 kB / 0.8145 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.01198, allocations: 80.25 kB / 0.8146 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.01219, allocations: 89.52 kB / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01219, allocations: 0 / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000498/0.01269, allocations: 186.1 kB / 0.8148 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/0.01277, allocations: 45.62 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01277, allocations: 1.375 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/0.01281, allocations: 4 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.01289, allocations: 0 / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.01289, allocations: 0 / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.01321, allocations: 29.62 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.01324, allocations: 15.98 kB / 0.8149 GB, free: 12.52 MB / 0.7292 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.0001566/0.0134, allocations: 115 kB / 0.815 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.01342, allocations: 4 kB / 0.815 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.01347, allocations: 7.938 kB / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01347, allocations: 0.5625 kB / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.01348, allocations: 0.9062 kB / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.01349, allocations: 4 kB / 0.815 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.01366, allocations: 105.3 kB / 0.8151 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01366, allocations: 0.8438 kB / 0.8151 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.01369, allocations: 11.94 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0137, allocations: 1.656 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01371, allocations: 3.984 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-05/0.01376, allocations: 4.328 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01376, allocations: 3.938 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.01397, allocations: 85.95 kB / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.01398, allocations: 4 kB / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.014, allocations: 0 / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.01403, allocations: 10.11 kB / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01408, allocations: 0 / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.01409, allocations: 8 kB / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.01417, allocations: 87.25 kB / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01417, allocations: 0 / 0.8154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003802/0.01455, allocations: 20 kB / 0.8154 GB, free: 12 MB / 0.7292 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.0002448/0.0148, allocations: 106.3 kB / 0.8155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.01517, allocations: 141.1 kB / 0.8156 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01517, allocations: 0 / 0.8156 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.01522, allocations: 12.44 kB / 0.8156 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.01556, allocations: 16.52 kB / 0.8156 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.01603, allocations: 130.5 kB / 0.8158 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.414e-05/0.01613, allocations: 63.34 kB / 0.8158 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.01615, allocations: 4.25 kB / 0.8158 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.01619, allocations: 13.16 kB / 0.8158 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 6.82e-07/0.01619, allocations: 0 / 0.8158 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.006146/0.02233, allocations: 1.212 MB / 0.817 GB, free: 10.31 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.00325187004637]