Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001011/0.001011, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002648, 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.001178/0.001178, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002728, 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 1.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09277/1.099, allocations: 53.67 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.93/1.93, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5376/2.468, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.127e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001869/0.00189, allocations: 0.7581 MB / 0.7305 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.002798, allocations: 0.8589 MB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.002834, allocations: 0 / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002859, allocations: 0 / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.00291, allocations: 18.88 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.307e-05/0.002963, allocations: 7.984 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.003053, allocations: 47.52 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.003139, allocations: 10.7 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003246, allocations: 34.16 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.003293, allocations: 13.41 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.003329, allocations: 4.875 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.003337, allocations: 4 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.003357, allocations: 6.031 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.003382, allocations: 9.75 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.003477, allocations: 27.53 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.003493, allocations: 4.922 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003494, allocations: 0 / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.003508, allocations: 0.6562 kB / 0.7315 GB, free: 2.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004366/0.003945, allocations: 253.3 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.003987, allocations: 8.031 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.004022, allocations: 10.64 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.004135, allocations: 117.7 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004145, allocations: 384 / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.004161, allocations: 8.375 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.004318, allocations: 60.3 kB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004326, allocations: 192 / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004336, allocations: 4.875 kB / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004343, allocations: 384 / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.004375, allocations: 12.59 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004656, allocations: 154.3 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.004731, allocations: 34.61 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.004753, allocations: 5.734 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.004764, allocations: 4 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.004793, allocations: 30.56 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004794, allocations: 0.625 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.004937, allocations: 50.53 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.004967, allocations: 51.41 kB / 0.7322 GB, free: 1.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.005035, allocations: 112.4 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005047, allocations: 26.69 kB / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.005082, allocations: 92.09 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.005101, allocations: 3.953 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.005134, allocations: 21.69 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.005226, allocations: 311.4 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.005241, allocations: 5 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.005255, allocations: 7.984 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.00529, allocations: 20.78 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005292, allocations: 1.625 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.39e-05/0.005356, allocations: 38.81 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.00537, allocations: 11.12 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.005374, allocations: 0 / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.005389, allocations: 4.656 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.005475, allocations: 15.98 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005478, allocations: 0.5312 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.005507, allocations: 4.938 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005513, allocations: 0 / 0.7329 GB, free: 1.008 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 (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 5.755e-05/0.005571, allocations: 110.7 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.005591, allocations: 4.641 kB / 0.733 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.005617, allocations: 13.72 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005619, allocations: 7.875 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005621, allocations: 0 / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005624, allocations: 0 / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.005736, allocations: 73.88 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005737, allocations: 4.656 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.005782, allocations: 8 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.005791, allocations: 12.94 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005793, allocations: 0 / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.005798, allocations: 0.7812 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.005799, allocations: 0 / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.005801, allocations: 5.125 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.005903, allocations: 131.5 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.005916, allocations: 4 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.005975, allocations: 9.016 kB / 0.7333 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.006007, allocations: 4 kB / 0.7333 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.006012, allocations: 3.938 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.006031, allocations: 21.33 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006031, allocations: 1.781 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001845/0.006215, allocations: 11.94 kB / 0.7333 GB, free: 0.543 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: 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 9.608e-05/0.006311, allocations: 80.42 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.006389, allocations: 18.06 kB / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.006395, allocations: 0 / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.006424, allocations: 12.86 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.006642, allocations: 60.16 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.007127, allocations: 139 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.00717, allocations: 59.34 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.007201, allocations: 4.938 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.007272, allocations: 51.38 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.007273, allocations: 2.469 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of Templates: time 0.002816/0.01009, allocations: 0.71 MB / 0.7344 GB, free: 15.38 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.137081945315003]