Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000958/0.000958, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001426/0.001426, allocations: 173 kB / 23.02 MB, free: 1.547 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.9483/0.9483, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.192/2.192, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.21e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.86e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002476/0.002524, allocations: 0.7287 MB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003799, allocations: 0.8418 MB / 0.8798 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.003857, allocations: 4 kB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.003904, allocations: 3.938 kB / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.004007, allocations: 14.03 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.223e-05/0.004099, allocations: 11.98 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.0042, allocations: 47.84 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.00432, allocations: 4.906 kB / 0.8799 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.004408, allocations: 23.97 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.004449, allocations: 16.58 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.004472, allocations: 4 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.00448, allocations: 5.5 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.004501, allocations: 7.938 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.004533, allocations: 15.92 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.004638, allocations: 31.89 kB / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.004644, allocations: 1.344 kB / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.492e-06/0.004645, allocations: 4 kB / 0.88 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.004652, allocations: 0 / 0.88 GB, free: 4.531 MB / 0.8386 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.000443/0.005095, allocations: 379.8 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.005139, allocations: 8.031 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.005184, allocations: 4.938 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.00528, allocations: 120.6 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.005292, allocations: 384 / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.005301, allocations: 384 / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.005461, allocations: 66.94 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005467, allocations: 192 / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.005478, allocations: 0.9688 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.005486, allocations: 5.656 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.005518, allocations: 7.938 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.005863, allocations: 263.8 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.048e-05/0.005953, allocations: 42.98 kB / 0.8808 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.005979, allocations: 11.69 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.005988, allocations: 0 / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.006013, allocations: 41.33 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.006014, allocations: 0 / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001701/0.006184, allocations: 53.67 kB / 0.8809 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.006217, allocations: 51.41 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.006297, allocations: 165.9 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006308, allocations: 25.7 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.006359, allocations: 134.9 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.006381, allocations: 15.89 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.006416, allocations: 27.36 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.00654, allocations: 492.1 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.006563, allocations: 4 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.006579, allocations: 7.938 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.006622, allocations: 23.94 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006624, allocations: 0 / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.319e-05/0.006697, allocations: 41.7 kB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.006715, allocations: 7.938 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.006722, allocations: 4 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.006737, allocations: 0 / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.006837, allocations: 15.98 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.006844, allocations: 0 / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.006875, allocations: 7.984 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006882, allocations: 4 kB / 0.8819 GB, free: 2.332 MB / 0.8386 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.259e-05/0.006955, allocations: 160.5 kB / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.006971, allocations: 7.953 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.007001, allocations: 7.938 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007004, allocations: 0 / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.007009, allocations: 0 / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007012, allocations: 0 / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.007124, allocations: 124.6 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007126, allocations: 0 / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.007166, allocations: 15.98 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007168, allocations: 0 / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007176, allocations: 0 / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.007178, allocations: 7.875 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007179, allocations: 4 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.007311, allocations: 191.9 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.007321, allocations: 3.953 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007334, allocations: 0 / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.007375, allocations: 19.92 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.007421, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007426, allocations: 3.984 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.007471, allocations: 131.2 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007471, allocations: 0 / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001386/0.00761, allocations: 4 kB / 0.8826 GB, free: 1.598 MB / 0.8386 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.0001151/0.007725, allocations: 91.25 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.00785, allocations: 27.67 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.007853, allocations: 0 / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.007876, allocations: 19.62 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.008117, allocations: 7.984 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.008452, allocations: 138.3 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.008491, allocations: 55.34 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.008517, allocations: 4 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.008557, allocations: 12.5 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of SimCode: time 1.493e-06/0.008559, allocations: 0 / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.002981/0.01154, allocations: 0.7993 MB / 0.8837 GB, free: 404 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.503741385880858]