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.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001146/0.001146, allocations: 173 kB / 23.49 MB, free: 1.062 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.117/2.117, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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 1.503e-06/1.503e-06, allocations: 0 / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.356e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001042/0.001055, allocations: 0.7241 MB / 0.879 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.001725, allocations: 0.8451 MB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.001749, allocations: 0 / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.001766, allocations: 1.516 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.001813, allocations: 10.02 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.232e-05/0.001856, allocations: 13.97 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.001915, allocations: 43.84 kB / 0.8799 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.001986, allocations: 8 kB / 0.8799 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.002045, allocations: 32.7 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.002073, allocations: 11.98 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.002088, allocations: 4.531 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.002094, allocations: 5.094 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.00211, allocations: 15.92 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.002126, allocations: 4 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.057e-05/0.002187, allocations: 36.5 kB / 0.88 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002189, allocations: 3.938 kB / 0.88 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4e-07/0.002189, allocations: 1.719 kB / 0.88 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.634e-06/0.002192, allocations: 0 / 0.88 GB, free: 4.859 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.0002705/0.002462, allocations: 376.5 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.002493, allocations: 8.031 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.002516, allocations: 5.75 kB / 0.8803 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.002586, allocations: 124.5 kB / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.002593, allocations: 1.281 kB / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.002601, allocations: 4.375 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.002701, allocations: 66.62 kB / 0.8805 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-06/0.002704, allocations: 192 / 0.8805 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.002711, allocations: 384 / 0.8805 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.002717, allocations: 4.375 kB / 0.8805 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.002749, allocations: 11.88 kB / 0.8805 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.002983, allocations: 259.8 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.003043, allocations: 39.05 kB / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.003065, allocations: 11.69 kB / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.003074, allocations: 3.984 kB / 0.8808 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.003096, allocations: 37.95 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.003096, allocations: 0.5938 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001121/0.003208, allocations: 53.67 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.003232, allocations: 56.03 kB / 0.881 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.003296, allocations: 167 kB / 0.8811 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-06/0.003305, allocations: 25.7 kB / 0.8812 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.003341, allocations: 130.9 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.003356, allocations: 17.42 kB / 0.8813 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.00338, allocations: 23.38 kB / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.003481, allocations: 492.1 kB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.003495, allocations: 0 / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.003507, allocations: 11.98 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.003537, allocations: 23.62 kB / 0.8818 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.003539, allocations: 4 kB / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.531e-05/0.003585, allocations: 41.69 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.003596, allocations: 11.94 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.003599, allocations: 0 / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.003606, allocations: 0 / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.003657, allocations: 11.94 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.00366, allocations: 0 / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.003682, allocations: 7.984 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.003685, allocations: 4 kB / 0.8819 GB, free: 2.664 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 5.303e-05/0.003738, allocations: 160.5 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.003753, allocations: 7.953 kB / 0.8821 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.00377, allocations: 11.94 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.003772, allocations: 0 / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.003775, allocations: 0 / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.003778, allocations: 3.984 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.003884, allocations: 120.6 kB / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003885, allocations: 0 / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.003923, allocations: 8 kB / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.003925, allocations: 4 kB / 0.8822 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.003931, allocations: 4 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.003934, allocations: 3.938 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003934, allocations: 0 / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.004029, allocations: 187.9 kB / 0.8824 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.004037, allocations: 7.953 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.00405, allocations: 3.984 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.00411, allocations: 7.938 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.004143, allocations: 7.922 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.004148, allocations: 4.375 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.004196, allocations: 127.2 kB / 0.8826 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.004196, allocations: 4 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001328/0.004329, allocations: 8 kB / 0.8826 GB, free: 1.93 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 6.527e-05/0.004394, allocations: 95.23 kB / 0.8827 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.004466, allocations: 23.67 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.004467, allocations: 0 / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.004487, allocations: 11.69 kB / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.004656, allocations: 15.92 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.004887, allocations: 138.3 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.004917, allocations: 59.34 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.004935, allocations: 0 / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.004959, allocations: 12.5 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/0.00496, allocations: 3.938 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of Templates: time 0.002134/0.007094, allocations: 0.7509 MB / 0.8836 GB, free: 0.7773 MB / 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.464949968038127]