Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008718/0.0008718, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001978, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007035/0.0007035, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008856/0.001589, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9492/0.9492, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.092/1.041, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.949/1.949, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5425/2.492, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.217e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001181/0.001204, allocations: 0.5841 MB / 0.7299 GB, free: 3.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 1.482e-05/0.001218, allocations: 12.67 kB / 0.7299 GB, free: 3.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.001235, allocations: 4 kB / 0.7299 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.001253, allocations: 0.6875 kB / 0.7299 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.13e-05/0.001264, allocations: 0.7656 kB / 0.7299 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.232e-05/0.001276, allocations: 2.375 kB / 0.7299 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.001319, allocations: 0.7656 kB / 0.7299 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.001353, allocations: 4 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.001389, allocations: 0.6562 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.001409, allocations: 0.9844 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.001423, allocations: 0 / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.887e-06/0.001427, allocations: 1.875 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.001439, allocations: 4.984 kB / 0.7299 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.001453, allocations: 4 kB / 0.7299 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 4.983e-05/0.001503, allocations: 1.75 kB / 0.7299 GB, free: 3.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.001516, allocations: 3.984 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.91e-07/0.001517, allocations: 0.5 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.001527, allocations: 0.6875 kB / 0.7299 GB, free: 3.926 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002116/0.001739, allocations: 216.7 kB / 0.7301 GB, free: 3.688 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.001766, allocations: 9.75 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.001784, allocations: 0.9375 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.001854, allocations: 110.3 kB / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.001862, allocations: 384 / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.001868, allocations: 2.562 kB / 0.7303 GB, free: 3.547 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.269e-05/0.00192, allocations: 26.27 kB / 0.7303 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-06/0.001925, allocations: 4.75 kB / 0.7303 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-06/0.001929, allocations: 384 / 0.7303 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.001933, allocations: 1.125 kB / 0.7303 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-06/0.001941, allocations: 4.938 kB / 0.7303 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.002109, allocations: 290.8 kB / 0.7306 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.002172, allocations: 177.2 kB / 0.7307 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.002192, allocations: 85.02 kB / 0.7308 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.00221, allocations: 75.28 kB / 0.7309 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.002242, allocations: 110.5 kB / 0.731 GB, free: 2.746 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002243, allocations: 4 kB / 0.731 GB, free: 2.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.66e-05/0.002289, allocations: 31.42 kB / 0.731 GB, free: 2.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.002334, allocations: 132.4 kB / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.002389, allocations: 94.72 kB / 0.7313 GB, free: 2.461 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.002397, allocations: 29.7 kB / 0.7313 GB, free: 2.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.002423, allocations: 80.14 kB / 0.7314 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-07/0.002423, allocations: 0.6562 kB / 0.7314 GB, free: 2.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.002442, allocations: 9.719 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.002516, allocations: 315.8 kB / 0.7317 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.00252, allocations: 0.9844 kB / 0.7317 GB, free: 2.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.002526, allocations: 8.016 kB / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.002544, allocations: 75.28 kB / 0.7318 GB, free: 1.934 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.002563, allocations: 80.39 kB / 0.7318 GB, free: 1.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.49e-05/0.002597, allocations: 33.64 kB / 0.7319 GB, free: 1.816 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.002626, allocations: 83.28 kB / 0.7319 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.002645, allocations: 76 kB / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/0.002682, allocations: 158.5 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/0.002702, allocations: 79.75 kB / 0.7322 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-05/0.002734, allocations: 156.1 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.002776, allocations: 87.2 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.00279, allocations: 75.28 kB / 0.7325 GB, free: 1.113 MB / 0.698 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 7.062e-05/0.002861, allocations: 257.3 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.002894, allocations: 110.4 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.00293, allocations: 108 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.002968, allocations: 177 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-05/0.003007, allocations: 192.1 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/0.003045, allocations: 176.9 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.003194, allocations: 321.4 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.003215, allocations: 102.8 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.003238, allocations: 105 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.003266, allocations: 108.9 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.307e-05/0.00331, allocations: 180.9 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.003353, allocations: 185 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.934e-05/0.003393, allocations: 180.6 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.504e-05/0.003438, allocations: 184.2 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.003532, allocations: 308.7 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.003575, allocations: 180.2 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.003618, allocations: 106.4 kB / 0.7354 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.003665, allocations: 188.9 kB / 0.7356 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.003689, allocations: 101 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.453e-05/0.003703, allocations: 9.953 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.003703, allocations: 0 / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001242/0.003827, allocations: 0 / 0.7357 GB, free: 13.73 MB / 0.7136 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 8.014e-05/0.003907, allocations: 156.7 kB / 0.7358 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.885e-05/0.003936, allocations: 4.562 kB / 0.7358 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.00394, allocations: 2.656 kB / 0.7358 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.003941, allocations: 3.938 kB / 0.7358 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.004128, allocations: 457.9 kB / 0.7363 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.004281, allocations: 167 kB / 0.7364 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.004314, allocations: 52.58 kB / 0.7365 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.713e-06/0.004316, allocations: 0 / 0.7365 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.004335, allocations: 47.38 kB / 0.7365 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.004336, allocations: 0.5469 kB / 0.7365 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.001295/0.00563, allocations: 171.4 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant/Buildings_12_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: 4.878405002877116]