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.001431/0.001431, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001575/0.001575, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.655/2.655, allocations: 359.1 MB / 0.6044 GB, free: 14.92 MB / 0.5762 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.003117/0.003117, allocations: 63.91 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4073, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002159/0.4095, allocations: 0.6021 MB / 1.118 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.4112, allocations: 1.132 MB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.4113, allocations: 0 / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/0.4113, allocations: 7.922 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.4114, allocations: 3.938 kB / 1.119 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.4121, allocations: 131.7 kB / 1.119 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.4123, allocations: 83.88 kB / 1.119 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4124, allocations: 8 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.4125, allocations: 31.92 kB / 1.119 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4126, allocations: 27.95 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.4127, allocations: 15.92 kB / 1.119 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.4128, allocations: 23.92 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.4128, allocations: 4 kB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.4128, allocations: 31.92 kB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4131, allocations: 87.72 kB / 1.12 GB, free: 448 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4131, allocations: 0 / 1.12 GB, free: 448 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4131, allocations: 3.938 kB / 1.12 GB, free: 444 kB / 1.061 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4131, allocations: 0 / 1.12 GB, free: 444 kB / 1.061 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.0006597/0.4138, allocations: 300 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4138, allocations: 8.031 kB / 1.12 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.4139, allocations: 8.891 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.414, allocations: 110.5 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4141, allocations: 8.359 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4141, allocations: 4.375 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.4142, allocations: 42.25 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4142, allocations: 192 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4142, allocations: 7.938 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4143, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.4143, allocations: 11.94 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.4148, allocations: 228.6 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.4149, allocations: 22.58 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.4149, allocations: 8.922 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.4149, allocations: 3.938 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.4152, allocations: 75.28 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4152, allocations: 4 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002315/0.4154, allocations: 61.88 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4155, allocations: 55.39 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4156, allocations: 118.1 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4156, allocations: 25.7 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4157, allocations: 88.09 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.4157, allocations: 7.953 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.4158, allocations: 33.7 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4159, allocations: 318.8 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.416, allocations: 61.62 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4162, allocations: 100.3 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4163, allocations: 76.28 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4163, allocations: 0 / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003212/0.4166, allocations: 189 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.4167, allocations: 33.7 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4167, allocations: 0 / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4167, allocations: 11.92 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.4168, allocations: 0 / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4168, allocations: 4.062 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.417, allocations: 31.97 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.417, allocations: 4 kB / 1.122 GB, free: 14.18 MB / 1.076 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.0001128/0.4171, allocations: 117.7 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.4171, allocations: 19.88 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.4172, allocations: 4 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4172, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4172, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4172, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.4173, allocations: 113.3 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4173, allocations: 0 / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.4173, allocations: 7.938 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4173, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4173, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4173, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4173, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.4175, allocations: 93.05 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.4175, allocations: 7.891 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4175, allocations: 0 / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.4175, allocations: 4 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.4175, allocations: 7.984 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4175, allocations: 0 / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.684e-05/0.4176, allocations: 87.28 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4176, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002168/0.4178, allocations: 16 kB / 1.122 GB, free: 13.65 MB / 1.076 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.0001593/0.418, allocations: 111.2 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.4182, allocations: 141 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4182, allocations: 0 / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.4183, allocations: 16.11 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.4185, allocations: 8 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.4188, allocations: 134 kB / 1.122 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.4189, allocations: 63.34 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.4189, allocations: 4 kB / 1.122 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.419, allocations: 12.5 kB / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.419, allocations: 0 / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of Templates: time 0.004364/0.4233, allocations: 1.189 MB / 1.124 GB, free: 11.93 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.739574813982472]