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.001801/0.001801, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001383/0.001383, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.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.899/2.899, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 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.002024/0.002024, allocations: 71.89 kB / 1.107 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343/1.345, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002865/1.348, allocations: 0.7253 MB / 1.273 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001284/1.349, allocations: 0.8085 MB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/1.349, allocations: 0.6875 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/1.349, allocations: 5.438 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/1.349, allocations: 9.359 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.023e-05/1.349, allocations: 10.08 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/1.349, allocations: 51.23 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.349, allocations: 5.219 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/1.35, allocations: 17.42 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/1.35, allocations: 18.55 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/1.35, allocations: 8 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/1.35, allocations: 7.562 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/1.35, allocations: 7.094 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/1.35, allocations: 17.64 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/1.35, allocations: 47.94 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.35, allocations: 0.6875 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.605e-06/1.35, allocations: 0 / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.667e-06/1.35, allocations: 1.5 kB / 1.274 GB, free: 6.738 MB / 0.9981 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.0006968/1.351, allocations: 362.9 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.351, allocations: 10.45 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/1.351, allocations: 6.922 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.351, allocations: 169.3 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/1.351, allocations: 4.375 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/1.351, allocations: 2.469 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/1.351, allocations: 68.73 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.351, allocations: 192 / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/1.351, allocations: 9.562 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.351, allocations: 0 / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/1.352, allocations: 63.27 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/1.352, allocations: 269.6 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.352, allocations: 61.81 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/1.353, allocations: 34.27 kB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/1.353, allocations: 0 / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/1.353, allocations: 31.44 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.353, allocations: 0.7188 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006997/1.353, allocations: 131.5 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.353, allocations: 52.38 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/1.353, allocations: 115.6 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/1.353, allocations: 26.36 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/1.353, allocations: 91.83 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/1.354, allocations: 13.77 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/1.354, allocations: 13.19 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.354, allocations: 320 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/1.354, allocations: 28.61 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.354, allocations: 33.88 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.354, allocations: 67.73 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.354, allocations: 8.469 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003922/1.355, allocations: 98.14 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.355, allocations: 5.375 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.355, allocations: 4.844 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.355, allocations: 0 / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/1.355, allocations: 16.72 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.355, allocations: 1 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/1.355, allocations: 14.25 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/1.355, allocations: 4.984 kB / 1.276 GB, free: 4.961 MB / 0.9981 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 7.867e-05/1.355, allocations: 118 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/1.355, allocations: 6.156 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/1.355, allocations: 8.875 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.355, allocations: 2.828 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.355, allocations: 0 / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.355, allocations: 0.9688 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/1.355, allocations: 165.2 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.355, allocations: 1.156 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.355, allocations: 15.19 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.356, allocations: 5.031 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.356, allocations: 4 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.356, allocations: 10.66 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.356, allocations: 0 / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/1.356, allocations: 192.6 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/1.356, allocations: 79.28 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.356, allocations: 0.5 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.356, allocations: 15.34 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/1.356, allocations: 9.875 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.356, allocations: 0 / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.763e-05/1.356, allocations: 90.97 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.356, allocations: 1.281 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003559/1.357, allocations: 6.109 kB / 1.276 GB, free: 4.281 MB / 0.9981 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.0002261/1.357, allocations: 99.81 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004665/1.357, allocations: 74.06 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.357, allocations: 3.938 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.357, allocations: 35.28 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/1.358, allocations: 16.53 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/1.358, allocations: 140 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/1.359, allocations: 0.6815 MB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.232e-05/1.359, allocations: 0.9688 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/1.359, allocations: 9.5 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.359, allocations: 0 / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.003635/1.362, allocations: 0.7009 MB / 1.278 GB, free: 3.25 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.869944323785603]