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.001506/0.001506, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001654/0.001654, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.831/2.831, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.7864 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.283e-05, allocations: 3.031 kB / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001903/0.001936, allocations: 0.5946 MB / 0.7869 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.003903, allocations: 1.137 MB / 0.788 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.003953, allocations: 0 / 0.788 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.00399, allocations: 3.938 kB / 0.788 GB, free: 9.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.00407, allocations: 5.375 kB / 0.7881 GB, free: 9.984 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.004589, allocations: 115.6 kB / 0.7882 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.004791, allocations: 88.39 kB / 0.7882 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.004901, allocations: 8.766 kB / 0.7883 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.005025, allocations: 51.89 kB / 0.7883 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005132, allocations: 24.75 kB / 0.7883 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.005161, allocations: 8 kB / 0.7883 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.005234, allocations: 24.88 kB / 0.7884 GB, free: 9.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.005262, allocations: 8 kB / 0.7884 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.005323, allocations: 23.92 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005529, allocations: 100.5 kB / 0.7885 GB, free: 9.543 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.005536, allocations: 3.984 kB / 0.7885 GB, free: 9.539 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005537, allocations: 2.5 kB / 0.7885 GB, free: 9.539 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005541, allocations: 0 / 0.7885 GB, free: 9.539 MB / 0.698 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.0005248/0.006066, allocations: 307.9 kB / 0.7888 GB, free: 9.199 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.006107, allocations: 12.03 kB / 0.7888 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.006169, allocations: 4.938 kB / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.006296, allocations: 109.8 kB / 0.7889 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.006317, allocations: 2.094 kB / 0.7889 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.006344, allocations: 12.38 kB / 0.7889 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.006448, allocations: 42.19 kB / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.006455, allocations: 192 / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.006465, allocations: 384 / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.006468, allocations: 0.9688 kB / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.006522, allocations: 23.86 kB / 0.789 GB, free: 8.969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.006941, allocations: 225.2 kB / 0.7892 GB, free: 8.719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.007014, allocations: 27.62 kB / 0.7892 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.007046, allocations: 12.92 kB / 0.7892 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.00706, allocations: 5.312 kB / 0.7892 GB, free: 8.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.007226, allocations: 63.39 kB / 0.7893 GB, free: 8.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.007227, allocations: 0 / 0.7893 GB, free: 8.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000227/0.007454, allocations: 71.44 kB / 0.7894 GB, free: 8.516 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.007512, allocations: 55.41 kB / 0.7894 GB, free: 8.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.007626, allocations: 117.7 kB / 0.7895 GB, free: 8.324 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.007655, allocations: 25.7 kB / 0.7896 GB, free: 8.293 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.007745, allocations: 92.12 kB / 0.7897 GB, free: 8.199 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.007758, allocations: 5.391 kB / 0.7897 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.007832, allocations: 33.7 kB / 0.7897 GB, free: 8.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.008014, allocations: 314.8 kB / 0.79 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.008125, allocations: 61.67 kB / 0.79 GB, free: 7.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.008337, allocations: 82.52 kB / 0.7901 GB, free: 7.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.008471, allocations: 84.2 kB / 0.7902 GB, free: 7.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008472, allocations: 0 / 0.7902 GB, free: 7.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003377/0.00881, allocations: 187.5 kB / 0.7904 GB, free: 7.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.008866, allocations: 41.64 kB / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008871, allocations: 80 / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.008894, allocations: 4 kB / 0.7904 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.008944, allocations: 0 / 0.7904 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.008953, allocations: 3.984 kB / 0.7904 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.009163, allocations: 41.09 kB / 0.7905 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.009182, allocations: 4 kB / 0.7905 GB, free: 7.285 MB / 0.698 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.0001351/0.009317, allocations: 114.4 kB / 0.7906 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.009338, allocations: 5.656 kB / 0.7906 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.009372, allocations: 12.17 kB / 0.7906 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.009378, allocations: 3.984 kB / 0.7906 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.009383, allocations: 0 / 0.7906 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.009389, allocations: 8.484 kB / 0.7906 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.009534, allocations: 105.3 kB / 0.7907 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.009547, allocations: 8.594 kB / 0.7907 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.009567, allocations: 8.719 kB / 0.7907 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009568, allocations: 0 / 0.7907 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.009574, allocations: 1.156 kB / 0.7907 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.009579, allocations: 3.938 kB / 0.7907 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00958, allocations: 0 / 0.7907 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.009729, allocations: 85.98 kB / 0.7908 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.009744, allocations: 7.984 kB / 0.7908 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.009757, allocations: 0 / 0.7908 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.009775, allocations: 4.719 kB / 0.7908 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.009809, allocations: 8 kB / 0.7908 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.009813, allocations: 1.188 kB / 0.7908 GB, free: 6.863 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.009881, allocations: 87.25 kB / 0.7909 GB, free: 6.777 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009881, allocations: 0 / 0.7909 GB, free: 6.777 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002228/0.0101, allocations: 20.84 kB / 0.7909 GB, free: 6.758 MB / 0.698 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.0001912/0.0103, allocations: 108.5 kB / 0.791 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.01057, allocations: 137.1 kB / 0.7912 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01057, allocations: 0 / 0.7912 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.01061, allocations: 17.08 kB / 0.7912 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01082, allocations: 12 kB / 0.7912 GB, free: 6.461 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.01116, allocations: 130.6 kB / 0.7913 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.01124, allocations: 75.19 kB / 0.7914 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.01126, allocations: 0 / 0.7914 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.01128, allocations: 14.94 kB / 0.7914 GB, free: 6.203 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.01128, allocations: 0 / 0.7914 GB, free: 6.203 MB / 0.698 GB Notification: Performance of Templates: time 0.004331/0.01562, allocations: 1.19 MB / 0.7926 GB, free: 5.059 MB / 0.698 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 -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/jenkins/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: 7.90577532898169]