Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 75.88 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9522/0.9551, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002308/0.9574, allocations: 0.7043 MB / 1.275 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.9586, allocations: 0.8157 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.9586, allocations: 0 / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.9587, allocations: 7.938 kB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.9588, allocations: 7.938 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.573e-05/0.9588, allocations: 11.97 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.9589, allocations: 39.92 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.959, allocations: 11.98 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.9591, allocations: 15.94 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.9592, allocations: 19.91 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.9592, allocations: 4 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.9592, allocations: 4 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.9592, allocations: 7.938 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.9593, allocations: 27.91 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.9594, allocations: 42.48 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9594, allocations: 0 / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9594, allocations: 3.938 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.9594, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 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.0006759/0.9601, allocations: 367.3 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9601, allocations: 8.031 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.9602, allocations: 8.891 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.9603, allocations: 176.3 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9604, allocations: 384 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.9604, allocations: 384 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.9606, allocations: 70.22 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9607, allocations: 192 / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.9607, allocations: 11.86 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9607, allocations: 0 / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.961, allocations: 67.88 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.9614, allocations: 264.9 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.9616, allocations: 58.47 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.9618, allocations: 36.92 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.9618, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.9619, allocations: 38.56 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.9619, allocations: 0 / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005826/0.9624, allocations: 133.5 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.9625, allocations: 51.41 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.9626, allocations: 105.8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9626, allocations: 25.7 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.9627, allocations: 92.12 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.9627, allocations: 15.83 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.9628, allocations: 17.72 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9629, allocations: 314.8 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.9631, allocations: 35.95 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.9632, allocations: 27.97 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.9635, allocations: 76.72 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9635, allocations: 3.938 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/0.9638, allocations: 93.95 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9638, allocations: 4 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9638, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9639, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.964, allocations: 19.98 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.964, allocations: 7.922 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.9641, allocations: 11.94 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.9641, allocations: 7.984 kB / 1.278 GB, free: 488 kB / 0.9669 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 0.000102/0.9642, allocations: 114.3 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.9642, allocations: 4 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.9643, allocations: 7.906 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9643, allocations: 0 / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9643, allocations: 7.938 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9643, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.9645, allocations: 169.6 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9645, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.9646, allocations: 19.98 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.9646, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.9646, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9646, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9646, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.965, allocations: 207.3 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.9651, allocations: 77.11 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.9651, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.9652, allocations: 15.98 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.9653, allocations: 3.984 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.9653, allocations: 8 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.9653, allocations: 87.58 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9653, allocations: 3.938 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002122/0.9655, allocations: 8 kB / 1.279 GB, free: 15.66 MB / 0.9825 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 0.0002089/0.9657, allocations: 99.23 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.9661, allocations: 71.92 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9661, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.9663, allocations: 31.97 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.9666, allocations: 11.94 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.967, allocations: 141.3 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.9674, allocations: 0.6846 MB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.9674, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.9674, allocations: 15.44 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9674, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.003379/0.9708, allocations: 0.6913 MB / 1.28 GB, free: 13.86 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.141538640949875]