Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008968/0.0008968, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002082, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007077/0.0007077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000933/0.001641, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.045/1.045, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1155/1.161, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.479/2.479, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2631/2.742, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.144e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00112/0.001141, allocations: 0.6036 MB / 0.8189 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 1.625e-05/0.001158, allocations: 7.938 kB / 0.8189 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.001175, allocations: 4 kB / 0.8189 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.001192, allocations: 0 / 0.8189 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.049e-05/0.001203, allocations: 0 / 0.8189 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.333e-05/0.001216, allocations: 0 / 0.8189 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.297e-05/0.001259, allocations: 7.984 kB / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.001293, allocations: 7.938 kB / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.001329, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.001349, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.001364, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-06/0.001368, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.001376, allocations: 4 kB / 0.8189 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.001389, allocations: 4 kB / 0.8189 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 4.763e-05/0.001437, allocations: 0 / 0.8189 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.001449, allocations: 0 / 0.8189 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00145, allocations: 0 / 0.8189 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.001462, allocations: 3.938 kB / 0.8189 GB, free: 2.246 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002157/0.001678, allocations: 216.7 kB / 0.8191 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.001714, allocations: 8.625 kB / 0.8191 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.001736, allocations: 0.9375 kB / 0.8191 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.143e-05/0.001807, allocations: 105.8 kB / 0.8192 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.001816, allocations: 4.312 kB / 0.8192 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.001821, allocations: 384 / 0.8192 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.769e-05/0.001879, allocations: 38.27 kB / 0.8193 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.001885, allocations: 192 / 0.8193 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.00189, allocations: 384 / 0.8193 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.001894, allocations: 384 / 0.8193 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-06/0.001902, allocations: 7.922 kB / 0.8193 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.002065, allocations: 286.9 kB / 0.8196 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.002123, allocations: 177.1 kB / 0.8197 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.002143, allocations: 80.14 kB / 0.8198 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.002159, allocations: 75.28 kB / 0.8199 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.002191, allocations: 109.8 kB / 0.82 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002192, allocations: 4 kB / 0.82 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.382e-05/0.002236, allocations: 33.64 kB / 0.82 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.00228, allocations: 134.6 kB / 0.8201 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.002332, allocations: 98.72 kB / 0.8202 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.00234, allocations: 25.7 kB / 0.8203 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.002366, allocations: 80.14 kB / 0.8203 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-07/0.002367, allocations: 0 / 0.8203 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.002385, allocations: 9.719 kB / 0.8203 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.00246, allocations: 318.8 kB / 0.8207 GB, free: 324 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.002463, allocations: 128 / 0.8207 GB, free: 324 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.002466, allocations: 4 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.767e-05/0.002484, allocations: 75.28 kB / 0.8207 GB, free: 244 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.002502, allocations: 75.28 kB / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.221e-05/0.002534, allocations: 29.7 kB / 0.8208 GB, free: 132 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.002563, allocations: 83.27 kB / 0.8209 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.002589, allocations: 79.22 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.002625, allocations: 154.6 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.002791, allocations: 91.09 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.00282, allocations: 154.6 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.002859, allocations: 79.28 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.002876, allocations: 87.38 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 6.876e-05/0.002945, allocations: 260.4 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.002976, allocations: 109 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.003008, allocations: 107.9 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.003046, allocations: 180.3 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/0.003083, allocations: 184.1 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/0.003121, allocations: 180.3 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.003234, allocations: 321.4 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/0.003256, allocations: 104.9 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.003278, allocations: 105 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.003303, allocations: 112.9 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.549e-05/0.003339, allocations: 180.2 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.003376, allocations: 180.3 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.381e-05/0.00341, allocations: 180.2 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.544e-05/0.003445, allocations: 180.2 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.05e-05/0.003525, allocations: 311.8 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.003562, allocations: 176.3 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.003607, allocations: 104.9 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.003647, allocations: 180.3 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.003669, allocations: 104.9 kB / 0.8246 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.363e-05/0.003682, allocations: 16.78 kB / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.003683, allocations: 0 / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000128/0.003811, allocations: 4 kB / 0.8247 GB, free: 12.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.56e-05/0.003886, allocations: 147.7 kB / 0.8248 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.107e-05/0.003917, allocations: 8 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.003921, allocations: 0 / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.003921, allocations: 0 / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.004105, allocations: 455.7 kB / 0.8252 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001476/0.004253, allocations: 167.4 kB / 0.8254 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.44e-05/0.004277, allocations: 55.45 kB / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.753e-06/0.004279, allocations: 0 / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.004299, allocations: 47.38 kB / 0.8255 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.004299, allocations: 3.938 kB / 0.8255 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.001232/0.005531, allocations: 175 kB / 0.8257 GB, free: 10.93 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354962062090635]