Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001521/0.001521, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002169/0.00369, 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.0007933/0.0007933, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001953, 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.9517/0.9517, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09701/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.453/2.453, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2595/2.712, allocations: 146 MB / 0.8176 GB, free: 3.844 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.38e-05, allocations: 2.312 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001762/0.001786, allocations: 0.7497 MB / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.002463, allocations: 0.8587 MB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.002494, allocations: 0 / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.00252, allocations: 7.922 kB / 0.8206 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.002559, allocations: 15.86 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.634e-05/0.002615, allocations: 7.984 kB / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.00269, allocations: 47.86 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.002768, allocations: 4 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.002853, allocations: 31.91 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.002902, allocations: 19.97 kB / 0.8207 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.002923, allocations: 8 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.002933, allocations: 4 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.00295, allocations: 7.938 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.002969, allocations: 12 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.65e-05/0.003056, allocations: 23.86 kB / 0.8208 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.003066, allocations: 0 / 0.8208 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003067, allocations: 0 / 0.8208 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.003077, allocations: 0 / 0.8208 GB, free: 0.6289 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000343/0.003421, allocations: 260.5 kB / 0.821 GB, free: 356 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.003451, allocations: 8.031 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.003477, allocations: 8.938 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.00355, allocations: 117.6 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003559, allocations: 8.375 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003569, allocations: 384 / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.003681, allocations: 62.94 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.003686, allocations: 192 / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.003692, allocations: 384 / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003697, allocations: 8.359 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.003717, allocations: 11.92 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.003936, allocations: 156.3 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.003995, allocations: 26.58 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.00401, allocations: 4.859 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.004027, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.004048, allocations: 30.56 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.004049, allocations: 3.938 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001144/0.004163, allocations: 49.66 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.00419, allocations: 51.41 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004246, allocations: 114.7 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004255, allocations: 25.7 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.004288, allocations: 88.12 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.004308, allocations: 15.89 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.004331, allocations: 13.72 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.004401, allocations: 314.8 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.004414, allocations: 3.984 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.004424, allocations: 4 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.004449, allocations: 8.859 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.004451, allocations: 0 / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.007e-05/0.004501, allocations: 49.62 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.004512, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.004516, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.004529, allocations: 7.922 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.004608, allocations: 12 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.00461, allocations: 320 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.004635, allocations: 19.92 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.004641, allocations: 0 / 0.8222 GB, free: 15 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 (3): * Single equations (assignments): 3 * 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 4.74e-05/0.004689, allocations: 109.8 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.004702, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.004781, allocations: 53.61 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.004783, allocations: 3.938 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.004784, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004786, allocations: 4 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.668e-05/0.004863, allocations: 69.89 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004864, allocations: 0 / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.004902, allocations: 8 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.004911, allocations: 11.94 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.004913, allocations: 384 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.004918, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004919, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.004921, allocations: 7.922 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/0.004995, allocations: 143.5 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.005003, allocations: 3.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.005038, allocations: 11.98 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.005066, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.005069, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.005087, allocations: 20.83 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005087, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000107/0.005194, allocations: 8 kB / 0.8226 GB, free: 14.49 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 (3): * Single equations (assignments): 3 * 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.051e-05/0.005274, allocations: 72.42 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.005334, allocations: 16.84 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.005341, allocations: 8 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.005364, allocations: 8.859 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.005531, allocations: 67.39 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.005877, allocations: 132.5 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.005906, allocations: 59.34 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.005926, allocations: 3.938 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.005978, allocations: 59.38 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.005979, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of Templates: time 0.002166/0.008144, allocations: 0.699 MB / 0.8237 GB, free: 13.31 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.321519939228892]