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.001024/0.001024, allocations: 83.59 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.001684/0.001684, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9812/0.9812, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.917/1.917, allocations: 359 MB / 0.6052 GB, free: 10.99 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 3.076e-06/3.076e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.398e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002035/0.002069, allocations: 0.716 MB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.00321, allocations: 0.8492 MB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.003252, allocations: 0 / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.003289, allocations: 7.922 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.003371, allocations: 9.906 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.779e-05/0.003449, allocations: 15.98 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.00354, allocations: 39.86 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.00365, allocations: 11.98 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.003749, allocations: 23.97 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.003795, allocations: 16.48 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.003818, allocations: 4.938 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-06/0.003827, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.003846, allocations: 7.984 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.003874, allocations: 9.094 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.003972, allocations: 31.83 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003974, allocations: 5.062 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003975, allocations: 0 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.00398, allocations: 0 / 0.7889 GB, free: 10.63 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.0004561/0.004436, allocations: 378.1 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.004481, allocations: 8.031 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.004524, allocations: 8.891 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.00463, allocations: 112.6 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004643, allocations: 2.25 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.004661, allocations: 8.312 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.004834, allocations: 62.94 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004844, allocations: 192 / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004857, allocations: 6.75 kB / 0.7894 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.00487, allocations: 4.125 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.004917, allocations: 15.97 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.00528, allocations: 267.8 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.005366, allocations: 31 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.0054, allocations: 16.31 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.00541, allocations: 0 / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.00544, allocations: 47.06 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005441, allocations: 0 / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.00563, allocations: 45.64 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.005664, allocations: 55.34 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.005761, allocations: 166.7 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.005777, allocations: 33.69 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.005836, allocations: 135.6 kB / 0.7902 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.005857, allocations: 3.953 kB / 0.7902 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.005894, allocations: 19.38 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.006052, allocations: 0.4899 MB / 0.7907 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.006074, allocations: 4 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.006093, allocations: 4 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.006137, allocations: 15.69 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006139, allocations: 2.281 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.573e-05/0.006234, allocations: 53.58 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.006254, allocations: 7.938 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006259, allocations: 0 / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.006275, allocations: 0 / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.006376, allocations: 12.7 kB / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.006382, allocations: 320 / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.006419, allocations: 8.531 kB / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.006425, allocations: 1.656 kB / 0.7908 GB, free: 8.445 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.252e-05/0.006508, allocations: 152.6 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.006537, allocations: 7.938 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.006569, allocations: 11.98 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006571, allocations: 0.5938 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006574, allocations: 0 / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006576, allocations: 1.312 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.006718, allocations: 120.6 kB / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00672, allocations: 0 / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.006771, allocations: 13.14 kB / 0.7911 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006774, allocations: 0 / 0.7911 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.006782, allocations: 3.938 kB / 0.7911 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.006785, allocations: 5.375 kB / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006786, allocations: 0 / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.006933, allocations: 196.2 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.006939, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.006955, allocations: 9.688 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.007027, allocations: 15.94 kB / 0.7913 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.007071, allocations: 8.016 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.007074, allocations: 0 / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.884e-05/0.007143, allocations: 140.1 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007143, allocations: 0 / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002731/0.007416, allocations: 4 kB / 0.7915 GB, free: 7.711 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.0001089/0.007525, allocations: 97.38 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.007636, allocations: 23.61 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007638, allocations: 0 / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.007671, allocations: 15.69 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.007987, allocations: 9.5 kB / 0.7916 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.008335, allocations: 139.7 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.008417, allocations: 55.36 kB / 0.7918 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.008446, allocations: 0.9688 kB / 0.7918 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.008481, allocations: 8.5 kB / 0.7918 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.008482, allocations: 7.375 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.00313/0.01161, allocations: 0.7444 MB / 0.7926 GB, free: 6.59 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.422110250219703]