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.001469/0.001469, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001131/0.001131, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9413/0.9413, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.886/1.886, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 2.956e-06/2.956e-06, allocations: 0 / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.121e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001938/0.001969, allocations: 0.7108 MB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003019, allocations: 0.8484 MB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.003061, allocations: 0 / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.003091, allocations: 7.875 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.003162, allocations: 5.406 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.797e-05/0.00323, allocations: 11.98 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.003321, allocations: 43.84 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003426, allocations: 13.05 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.753e-05/0.003523, allocations: 27.86 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.003567, allocations: 15.97 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.00359, allocations: 5.562 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.003599, allocations: 4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.003617, allocations: 4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.003646, allocations: 15.92 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.003741, allocations: 37.45 kB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003744, allocations: 0 / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003745, allocations: 0 / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003749, allocations: 0 / 0.7889 GB, free: 11 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.000433/0.004182, allocations: 377.8 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.004225, allocations: 8.031 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.00427, allocations: 8.891 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.00438, allocations: 118.6 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.004393, allocations: 384 / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004406, allocations: 4.375 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.004584, allocations: 74.86 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004592, allocations: 192 / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004602, allocations: 2.531 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.00461, allocations: 384 / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.004653, allocations: 15.92 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.005006, allocations: 259.8 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/0.00509, allocations: 35.06 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.005121, allocations: 12.16 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.005131, allocations: 9.734 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005156, allocations: 33.39 kB / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.005157, allocations: 0 / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.005348, allocations: 45.64 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.005383, allocations: 56.05 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.005478, allocations: 169.9 kB / 0.79 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.005491, allocations: 26.86 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.005544, allocations: 134.8 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.005566, allocations: 7.953 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.005602, allocations: 20.53 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.00574, allocations: 0.4922 MB / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.005764, allocations: 0 / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.005782, allocations: 5.375 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.005825, allocations: 15.69 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005827, allocations: 0 / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.932e-05/0.005916, allocations: 49.64 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.005933, allocations: 9.688 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005938, allocations: 4 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.005953, allocations: 0 / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.006048, allocations: 15.92 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.006053, allocations: 1.25 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.006087, allocations: 4 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.006093, allocations: 4.531 kB / 0.7908 GB, free: 8.809 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 7.815e-05/0.006171, allocations: 153.8 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.006198, allocations: 11.98 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.00623, allocations: 7.938 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.006233, allocations: 7.156 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006236, allocations: 0 / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00624, allocations: 0 / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.006374, allocations: 120.6 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.006377, allocations: 4 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.006427, allocations: 7.984 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006429, allocations: 4.328 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.006438, allocations: 4 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.006442, allocations: 3.938 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.006447, allocations: 8.484 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.006592, allocations: 201.8 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.006601, allocations: 4 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.006614, allocations: 0 / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.006679, allocations: 7.938 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.006722, allocations: 3.984 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.006727, allocations: 6.469 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.006776, allocations: 131.2 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006776, allocations: 0 / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002456/0.007022, allocations: 8 kB / 0.7915 GB, free: 8.07 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.0001138/0.007136, allocations: 91.25 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.00725, allocations: 24.39 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007252, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.007283, allocations: 20.47 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.007577, allocations: 8.781 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.007916, allocations: 146.9 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.007959, allocations: 55.36 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.007988, allocations: 1.719 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.008023, allocations: 12.5 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.008024, allocations: 1.562 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.002969/0.01099, allocations: 0.7476 MB / 0.7926 GB, free: 6.941 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.30042145610787]