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.001526/0.001526, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002539/0.002539, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.744/2.744, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.605e-06/2.605e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.444e-05, allocations: 5.266 kB / 0.7865 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002198/0.002233, allocations: 0.7048 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003435, allocations: 0.8259 MB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.003466, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.003494, allocations: 3.938 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.003566, allocations: 15.84 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.297e-05/0.003629, allocations: 15.98 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.003718, allocations: 40.98 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003834, allocations: 15.92 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.003922, allocations: 19.98 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.003966, allocations: 12.89 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.003987, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.003997, allocations: 9.344 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.004015, allocations: 7.984 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.004051, allocations: 11.98 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.00415, allocations: 43.86 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004152, allocations: 1.062 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004152, allocations: 0 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.004156, allocations: 0 / 0.7881 GB, free: 11.02 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.0006009/0.004757, allocations: 287.8 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.004795, allocations: 8.031 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.004847, allocations: 10.45 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.004987, allocations: 113.7 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.005001, allocations: 4.312 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.005013, allocations: 384 / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.005292, allocations: 71.53 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005299, allocations: 192 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005309, allocations: 2.406 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005313, allocations: 384 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.005623, allocations: 70.05 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.006061, allocations: 204.6 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.006287, allocations: 62.47 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.006444, allocations: 33.42 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.006461, allocations: 4.656 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.006503, allocations: 31.75 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006503, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006036/0.007107, allocations: 136 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.007155, allocations: 51.41 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.007282, allocations: 113.8 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.007306, allocations: 27.45 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.007376, allocations: 92.02 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.007403, allocations: 19.88 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.007441, allocations: 13.72 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.007652, allocations: 314.8 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.007871, allocations: 33.48 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.008071, allocations: 32.47 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.008494, allocations: 66.72 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.008497, allocations: 0 / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005028/0.008999, allocations: 104.3 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.009027, allocations: 7.938 kB / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.009035, allocations: 0 / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.009063, allocations: 4.75 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.009238, allocations: 16.52 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.009246, allocations: 1.969 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.009353, allocations: 15.92 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.009362, allocations: 4 kB / 0.79 GB, free: 8.949 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 0.0001444/0.009507, allocations: 110.7 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.009546, allocations: 4 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.009587, allocations: 11.94 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.00959, allocations: 0.8438 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.0096, allocations: 8 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.009603, allocations: 1.281 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.009827, allocations: 105.3 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009829, allocations: 4 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.009955, allocations: 16.78 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009957, allocations: 0 / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.00997, allocations: 0.875 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.009981, allocations: 7.938 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009982, allocations: 1.562 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.01054, allocations: 196.5 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01056, allocations: 4 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01059, allocations: 3.984 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.01074, allocations: 19.11 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.01082, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01082, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001025/0.01092, allocations: 95.25 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01092, allocations: 3.938 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003442/0.01127, allocations: 4 kB / 0.7906 GB, free: 8.316 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.0002296/0.0115, allocations: 96.31 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.01198, allocations: 72.92 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01199, allocations: 0.5312 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.01223, allocations: 41.64 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.01266, allocations: 6.031 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.01308, allocations: 133 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.243e-05/0.01316, allocations: 68.69 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.0132, allocations: 0.9062 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.01325, allocations: 8.5 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01325, allocations: 0.6562 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.003432/0.01668, allocations: 0.7484 MB / 0.7917 GB, free: 7.125 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=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: 7.693099271971732]