Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001281/0.001281, allocations: 102 kB / 19.69 MB, free: 2.109 MB / 14.72 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.001447/0.001447, allocations: 212.6 kB / 23.01 MB, free: 4.945 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.98 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3348, allocations: 170 MB / 1.285 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001894/0.3366, allocations: 0.6105 MB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3382, allocations: 1.157 MB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.3383, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.3383, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.3384, allocations: 7.938 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.3389, allocations: 123.2 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.339, allocations: 91.88 kB / 1.287 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.3391, allocations: 4 kB / 1.287 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.3392, allocations: 43.78 kB / 1.287 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3393, allocations: 31.97 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3393, allocations: 4 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.3394, allocations: 27.97 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3394, allocations: 7.938 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.3395, allocations: 27.92 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3396, allocations: 87.72 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3396, allocations: 0 / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3396, allocations: 0 / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3397, allocations: 0 / 1.287 GB, free: 9.113 MB / 0.9825 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.0004934/0.3402, allocations: 306 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3402, allocations: 12.03 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3402, allocations: 12.88 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3404, allocations: 106.5 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3404, allocations: 4.375 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3404, allocations: 8.312 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3405, allocations: 42.25 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3405, allocations: 192 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3405, allocations: 7.922 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3405, allocations: 4 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.3406, allocations: 8 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.341, allocations: 260 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.3411, allocations: 34.45 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.3411, allocations: 4.922 kB / 1.288 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3411, allocations: 7.984 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3413, allocations: 71.34 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3413, allocations: 0 / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.3415, allocations: 69.61 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3415, allocations: 55.34 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3417, allocations: 117.8 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3417, allocations: 25.7 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3417, allocations: 84.14 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3418, allocations: 15.91 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3418, allocations: 33.69 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.342, allocations: 314.8 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.3421, allocations: 31.98 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.608e-05/0.3422, allocations: 46.56 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3423, allocations: 92.2 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3423, allocations: 3.938 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002641/0.3426, allocations: 151.4 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.3426, allocations: 33.69 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3426, allocations: 7.938 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3426, allocations: 0 / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.3427, allocations: 4 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3427, allocations: 0 / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3429, allocations: 32.03 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3429, allocations: 7.984 kB / 1.289 GB, free: 6.91 MB / 0.9825 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.0001009/0.343, allocations: 121.7 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.343, allocations: 7.953 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.343, allocations: 4 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.343, allocations: 3.938 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.343, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.343, allocations: 4 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3432, allocations: 140.7 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3432, allocations: 4 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.3432, allocations: 0 / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3432, allocations: 0 / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3432, allocations: 0 / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.3432, allocations: 7.984 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3432, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3433, allocations: 81.06 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.3433, allocations: 3.953 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3434, allocations: 8 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.3434, allocations: 3.938 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3434, allocations: 8.266 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3434, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.3435, allocations: 87.22 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3435, allocations: 0 / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002206/0.3437, allocations: 23.98 kB / 1.289 GB, free: 6.336 MB / 0.9825 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.0001463/0.3438, allocations: 99.23 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.344, allocations: 115.4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.344, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.3441, allocations: 19.92 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3443, allocations: 11.94 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.3446, allocations: 151.9 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.345, allocations: 0.6846 MB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.345, allocations: 11.44 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.345, allocations: 4 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.002708/0.3477, allocations: 0.9293 MB / 1.291 GB, free: 4.246 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.917998622986488]