Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008223/0.0008223, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001929, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007133/0.0007133, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000964/0.001677, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9843/0.9843, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.085, 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 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.847/1.847, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5894/2.436, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.745e-05, allocations: 6.031 kB / 0.7297 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002449/0.002476, allocations: 0.714 MB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.454e-05/0.002551, allocations: 12.59 kB / 0.7304 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.002591, allocations: 0 / 0.7304 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.002663, allocations: 5.25 kB / 0.7304 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.0027, allocations: 3.984 kB / 0.7304 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.9e-05/0.002739, allocations: 8 kB / 0.7305 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.002837, allocations: 20.14 kB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.002966, allocations: 32.62 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.003034, allocations: 17.62 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.00308, allocations: 14.78 kB / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.003107, allocations: 5.219 kB / 0.7305 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.00312, allocations: 4 kB / 0.7305 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.00316, allocations: 6.625 kB / 0.7305 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.003188, allocations: 10.28 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.003302, allocations: 32.5 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.003316, allocations: 5.281 kB / 0.7306 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003316, allocations: 3.938 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.003333, allocations: 0 / 0.7306 GB, free: 3.484 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003904/0.003723, allocations: 255.1 kB / 0.7308 GB, free: 3.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.003759, allocations: 12.03 kB / 0.7309 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.003802, allocations: 5.703 kB / 0.7309 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.003952, allocations: 121.7 kB / 0.731 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.003965, allocations: 4.859 kB / 0.731 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.003981, allocations: 5.688 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.004102, allocations: 54.39 kB / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.00411, allocations: 192 / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004118, allocations: 1.812 kB / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004126, allocations: 4.375 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.00416, allocations: 20.73 kB / 0.7311 GB, free: 2.961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.004567, allocations: 345.4 kB / 0.7314 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.004649, allocations: 177.6 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.004678, allocations: 83.73 kB / 0.7316 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.004702, allocations: 76.62 kB / 0.7317 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.004747, allocations: 109.8 kB / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.004748, allocations: 0 / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.911e-05/0.004817, allocations: 30.3 kB / 0.7318 GB, free: 2.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.004872, allocations: 130.7 kB / 0.732 GB, free: 1.973 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.004965, allocations: 116.8 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.004978, allocations: 25.7 kB / 0.7321 GB, free: 1.816 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.005032, allocations: 96.03 kB / 0.7322 GB, free: 1.719 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-06/0.005037, allocations: 4.969 kB / 0.7322 GB, free: 1.715 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005068, allocations: 9.719 kB / 0.7322 GB, free: 1.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005172, allocations: 323.6 kB / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.005181, allocations: 0 / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.005189, allocations: 0.625 kB / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.005229, allocations: 10.86 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.005234, allocations: 3.938 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.502e-05/0.005319, allocations: 38.44 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.005335, allocations: 4 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005341, allocations: 1.406 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.005355, allocations: 4 kB / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.005423, allocations: 0 / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005428, allocations: 4 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.005452, allocations: 13.66 kB / 0.7326 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.005465, allocations: 4 kB / 0.7326 GB, free: 1.289 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 (1): * Single equations (assignments): 1 * 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 9.138e-05/0.005557, allocations: 188.7 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.005613, allocations: 105 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.005665, allocations: 114 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-05/0.00572, allocations: 180.2 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.005778, allocations: 184.2 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.449e-05/0.005832, allocations: 176.3 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.006034, allocations: 330.1 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.006068, allocations: 105 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.006101, allocations: 110.2 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.006145, allocations: 116.8 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/0.0062, allocations: 176.3 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.006256, allocations: 185.5 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.557e-05/0.006312, allocations: 180.2 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.843e-05/0.00637, allocations: 180.2 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.006499, allocations: 313 kB / 0.7351 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.006567, allocations: 180.2 kB / 0.7353 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.006655, allocations: 113.2 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.006715, allocations: 176.3 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.006753, allocations: 109.7 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.006781, allocations: 12.86 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.006781, allocations: 0.5312 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001925/0.006974, allocations: 4.875 kB / 0.7357 GB, free: 13.95 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 0.0001238/0.007098, allocations: 160.8 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.007162, allocations: 8.859 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.007167, allocations: 1.219 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.00717, allocations: 0 / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.007514, allocations: 491.2 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.007783, allocations: 212.3 kB / 0.7365 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.007825, allocations: 60.09 kB / 0.7366 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.00785, allocations: 4 kB / 0.7366 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.007903, allocations: 48.12 kB / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/0.007904, allocations: 0 / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of Templates: time 0.002417/0.01032, allocations: 359.8 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 4.913526676595211]