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.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.001152/0.001152, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009809/0.0009809, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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.9841/0.9841, allocations: 177.2 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.768/1.768, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.967e-06/3.967e-06, allocations: 0 / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.526e-05, allocations: 7.25 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00195/0.001985, allocations: 0.7072 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003339, allocations: 0.8483 MB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.003407, allocations: 5.25 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.003466, allocations: 3.938 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.003623, allocations: 15.84 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.003771, allocations: 13.39 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.003951, allocations: 43.86 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.004153, allocations: 11.98 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.004308, allocations: 16.52 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.004371, allocations: 19.92 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.004408, allocations: 5.094 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.00442, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.004458, allocations: 7.984 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.004505, allocations: 17.8 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004672, allocations: 19.97 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.004683, allocations: 4 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.574e-06/0.004685, allocations: 0 / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.004697, allocations: 4 kB / 0.7889 GB, free: 10.66 MB / 0.7448 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.0006444/0.005342, allocations: 377.2 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.005397, allocations: 13.09 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.005457, allocations: 8.891 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005565, allocations: 106.1 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005579, allocations: 8.312 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.005594, allocations: 8.359 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.005771, allocations: 62.94 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00578, allocations: 1.781 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.005792, allocations: 4.375 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.0058, allocations: 384 / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.005837, allocations: 7.938 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.006235, allocations: 273.5 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.006331, allocations: 31 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.006378, allocations: 15.69 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.006389, allocations: 0 / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.006417, allocations: 39.92 kB / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.006419, allocations: 0 / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000199/0.006618, allocations: 53.66 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.006661, allocations: 51.41 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.006757, allocations: 165.9 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.00677, allocations: 25.7 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.006836, allocations: 147.4 kB / 0.7902 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.00686, allocations: 7.891 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.0069, allocations: 21.03 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.007051, allocations: 496.1 kB / 0.7907 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.007077, allocations: 7.984 kB / 0.7907 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.007091, allocations: 0 / 0.7907 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.007137, allocations: 23.69 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00714, allocations: 1.75 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.112e-05/0.007221, allocations: 53.58 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.007238, allocations: 7.938 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007244, allocations: 0 / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.00726, allocations: 0.5938 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.007368, allocations: 8.938 kB / 0.7908 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.007376, allocations: 3.984 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.007403, allocations: 4 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.007411, allocations: 6.25 kB / 0.7908 GB, free: 8.465 MB / 0.7448 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 8.026e-05/0.007491, allocations: 152.6 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.007508, allocations: 4 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.007539, allocations: 15.92 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007541, allocations: 2.125 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.007547, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007551, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.007668, allocations: 120.6 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.00767, allocations: 336 / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.00771, allocations: 8 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007712, allocations: 0.5312 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007721, allocations: 4.656 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.007724, allocations: 3.938 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.007728, allocations: 4.516 kB / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.007895, allocations: 201.4 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.007908, allocations: 3.984 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.007923, allocations: 4 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.007964, allocations: 7.938 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.008024, allocations: 8.516 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.008029, allocations: 0 / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.008088, allocations: 132.5 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008088, allocations: 4 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001507/0.008239, allocations: 4 kB / 0.7915 GB, free: 7.738 MB / 0.7448 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.0001597/0.008399, allocations: 100.4 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.008531, allocations: 21 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.008533, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.008563, allocations: 19.67 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.008825, allocations: 4.906 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.009211, allocations: 139 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.588e-05/0.009257, allocations: 52.67 kB / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.009287, allocations: 4 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.009324, allocations: 13 kB / 0.7918 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.009325, allocations: 0.7188 kB / 0.7918 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.003178/0.0125, allocations: 0.7964 MB / 0.7926 GB, free: 6.574 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.13007423793897]