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.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.0007198/0.0007198, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001799, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006862/0.0006862, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009467/0.001633, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.958/0.958, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09591/1.054, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.42/2.42, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2473/2.668, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.632e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001245/0.001261, allocations: 0.656 MB / 0.8195 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.002286, allocations: 1.166 MB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.002322, allocations: 0 / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002343, allocations: 3.938 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.002374, allocations: 0 / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.002644, allocations: 123.6 kB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.002772, allocations: 91.83 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.002837, allocations: 7.984 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.002921, allocations: 51.91 kB / 0.821 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.003001, allocations: 27.94 kB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.003021, allocations: 8 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.003089, allocations: 23.94 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003109, allocations: 7.938 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.00314, allocations: 16 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.00326, allocations: 67.75 kB / 0.8211 GB, free: 252 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.00327, allocations: 4 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of FrontEnd: time 4.41e-07/0.00327, allocations: 0 / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.00328, allocations: 0 / 0.8211 GB, free: 248 kB / 0.7917 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.0003765/0.003657, allocations: 286.2 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.003685, allocations: 8.031 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.00372, allocations: 8.922 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.484e-05/0.003795, allocations: 105.8 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.00381, allocations: 4.375 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.003828, allocations: 12.31 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.123e-05/0.003899, allocations: 50.94 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.003905, allocations: 4.188 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.00391, allocations: 384 / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003915, allocations: 4.375 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.00393, allocations: 3.938 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.004145, allocations: 168.3 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.004184, allocations: 22.52 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.004197, allocations: 8.922 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.004202, allocations: 0 / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.254e-05/0.004285, allocations: 59.33 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004286, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001055/0.004391, allocations: 65.55 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.004422, allocations: 55.41 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.004488, allocations: 114.7 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.004504, allocations: 29.7 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.004539, allocations: 84.14 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-06/0.004549, allocations: 11.83 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.00459, allocations: 33.69 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.00467, allocations: 314.8 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.00472, allocations: 49.69 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.004769, allocations: 72.56 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.004838, allocations: 84.25 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.00484, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/0.004963, allocations: 149 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.005, allocations: 29.7 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.005006, allocations: 4 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005019, allocations: 3.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.005066, allocations: 4 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00507, allocations: 4.062 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.005183, allocations: 28.03 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.005194, allocations: 4 kB / 0.8229 GB, free: 14.17 MB / 0.8073 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 5.59e-05/0.00525, allocations: 113.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.00526, allocations: 7.984 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.005279, allocations: 8 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.005283, allocations: 3.938 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005284, allocations: 4 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005287, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.005344, allocations: 69.88 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005344, allocations: 4 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.005355, allocations: 4 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.00536, allocations: 3.953 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005361, allocations: 4 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.005365, allocations: 0 / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005366, allocations: 0 / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.005368, allocations: 3.938 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.005439, allocations: 69.11 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.005447, allocations: 4 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.005455, allocations: 0 / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.005474, allocations: 3.938 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.005478, allocations: 15.92 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.342e-05/0.005492, allocations: 12.84 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005492, allocations: 0 / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001114/0.005603, allocations: 19.94 kB / 0.8232 GB, free: 13.77 MB / 0.8073 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.0001035/0.005707, allocations: 88.41 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.005854, allocations: 129.9 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.005857, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.005879, allocations: 12.86 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.006006, allocations: 75.52 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.006402, allocations: 132.6 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.006431, allocations: 59.22 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.006448, allocations: 0.5625 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.006514, allocations: 67.36 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.006515, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.002592/0.009107, allocations: 1.308 MB / 0.8251 GB, free: 11.84 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.091288442723453]