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.001406/0.001406, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001399/0.001399, allocations: 171.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.955/2.955, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.954e-06/1.954e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.416e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001967/0.002002, allocations: 0.6951 MB / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003281, allocations: 0.8237 MB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.003327, allocations: 0 / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.003362, allocations: 7.938 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.003439, allocations: 11.92 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.203e-05/0.003521, allocations: 11.98 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.00363, allocations: 39.92 kB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.003749, allocations: 11.97 kB / 0.9831 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.003849, allocations: 27.86 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.003901, allocations: 15.98 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.003927, allocations: 4 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.003937, allocations: 4 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.003963, allocations: 11.92 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.003991, allocations: 12 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004108, allocations: 51.78 kB / 0.9832 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004111, allocations: 0 / 0.9832 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004111, allocations: 0 / 0.9832 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.004119, allocations: 0 / 0.9832 GB, free: 10.19 MB / 0.9356 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.0005972/0.004716, allocations: 290.2 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.004764, allocations: 8.031 kB / 0.9835 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.0048, allocations: 12.88 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004922, allocations: 105.8 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004934, allocations: 4.375 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.00495, allocations: 4.375 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.005216, allocations: 70.16 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005224, allocations: 192 / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005236, allocations: 384 / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005241, allocations: 384 / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.005565, allocations: 71.86 kB / 0.9837 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.005971, allocations: 208.6 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.006197, allocations: 58.52 kB / 0.984 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.006356, allocations: 40.86 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.00637, allocations: 0 / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.0064, allocations: 34.55 kB / 0.9841 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.767e-06/0.006404, allocations: 4 kB / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005773/0.006981, allocations: 125.5 kB / 0.9842 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.00703, allocations: 51.41 kB / 0.9842 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.007146, allocations: 113.8 kB / 0.9843 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.00717, allocations: 25.7 kB / 0.9844 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.007235, allocations: 80.14 kB / 0.9844 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.007269, allocations: 27.83 kB / 0.9845 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.007311, allocations: 13.72 kB / 0.9845 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.007489, allocations: 318.8 kB / 0.9848 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.007649, allocations: 35.89 kB / 0.9848 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.007796, allocations: 35.97 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.008085, allocations: 68.78 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008086, allocations: 0 / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003378/0.008424, allocations: 93.62 kB / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.008446, allocations: 11.94 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008451, allocations: 0 / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008464, allocations: 0 / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.008599, allocations: 15.98 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.008607, allocations: 11.92 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.008687, allocations: 7.984 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.008699, allocations: 4 kB / 0.9851 GB, free: 8.102 MB / 0.9356 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 9.758e-05/0.008797, allocations: 109.8 kB / 0.9852 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.008827, allocations: 11.89 kB / 0.9852 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.008855, allocations: 7.938 kB / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008856, allocations: 0 / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.008861, allocations: 0 / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.008863, allocations: 4 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.009023, allocations: 113.3 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.009023, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.009128, allocations: 19.97 kB / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.009129, allocations: 0 / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.009137, allocations: 0 / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.009142, allocations: 3.938 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009143, allocations: 0 / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.009578, allocations: 203.4 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.009589, allocations: 4.359 kB / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.009602, allocations: 0 / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.009718, allocations: 19.92 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.009766, allocations: 0 / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.009769, allocations: 4 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.009837, allocations: 91.25 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.009837, allocations: 0 / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002184/0.01006, allocations: 8 kB / 0.9856 GB, free: 7.457 MB / 0.9356 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.0001576/0.01021, allocations: 99.77 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.01057, allocations: 67.92 kB / 0.9858 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01057, allocations: 3.938 kB / 0.9858 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.01073, allocations: 39.89 kB / 0.9858 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01107, allocations: 12.55 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.01143, allocations: 128.7 kB / 0.986 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.01151, allocations: 63.34 kB / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.01154, allocations: 0 / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.01157, allocations: 8.5 kB / 0.986 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01157, allocations: 4 kB / 0.986 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.003364/0.01494, allocations: 0.7431 MB / 0.9868 GB, free: 6.25 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.442322965711355]