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.0007982/0.0007982, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007923/0.0007923, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9089/0.9089, allocations: 177.2 MB / 203.5 MB, free: 5.73 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 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 3.516e-06/3.516e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/3.015e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001336/0.001366, allocations: 0.6949 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.002143, allocations: 0.8315 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.00218, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.002208, allocations: 3.938 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.002268, allocations: 11.88 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.45e-05/0.002333, allocations: 11.98 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.002408, allocations: 43.84 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.002508, allocations: 11.94 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.002582, allocations: 19.98 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.002619, allocations: 19.95 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.002642, allocations: 7.938 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-06/0.002648, allocations: 8 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.002662, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.002684, allocations: 11.98 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.00277, allocations: 43.81 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002772, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002773, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.002777, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 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.0003875/0.003164, allocations: 292.7 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.0032, allocations: 8.75 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.003232, allocations: 8.891 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.003311, allocations: 113.7 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.003323, allocations: 4.375 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.003332, allocations: 384 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.003497, allocations: 70.2 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.003505, allocations: 192 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.003515, allocations: 4.375 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.003519, allocations: 384 / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.003659, allocations: 71.81 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.003952, allocations: 208.6 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.00407, allocations: 54.55 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.004143, allocations: 40.89 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.004153, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.004179, allocations: 38.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00418, allocations: 0 / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003001/0.00448, allocations: 125.5 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.004511, allocations: 55.39 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.004576, allocations: 109.8 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004587, allocations: 37.62 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.004623, allocations: 88.09 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.004643, allocations: 11.89 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004669, allocations: 13.72 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.004743, allocations: 318.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.004814, allocations: 31.97 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.004878, allocations: 31.97 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.005008, allocations: 76.72 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005009, allocations: 3.938 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001591/0.005168, allocations: 97.58 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.005182, allocations: 7.938 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005187, allocations: 7.984 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.005199, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.005273, allocations: 15.98 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005278, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.005314, allocations: 11.98 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005319, allocations: 0 / 1.005 GB, free: 9.086 MB / 0.9636 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.417e-05/0.005373, allocations: 113.8 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.005386, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.005411, allocations: 15.86 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005413, allocations: 8 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.005417, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00542, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.9e-05/0.005519, allocations: 113.3 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00552, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.005559, allocations: 11.98 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00556, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.005568, allocations: 4 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.00557, allocations: 3.938 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005571, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.005779, allocations: 195.4 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.005787, allocations: 4 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.005799, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.005849, allocations: 19.92 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.005892, allocations: 4.359 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005895, allocations: 0 / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.005934, allocations: 99.16 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005934, allocations: 0 / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001488/0.006083, allocations: 4 kB / 1.005 GB, free: 8.438 MB / 0.9636 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.0001149/0.006198, allocations: 99.23 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.006403, allocations: 67.91 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.006405, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.006478, allocations: 35.97 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.006735, allocations: 11.98 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.007084, allocations: 163.1 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.007136, allocations: 63.34 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.007171, allocations: 20.44 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.007172, allocations: 0 / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of Templates: time 0.001897/0.009069, allocations: 0.7594 MB / 1.006 GB, free: 7.172 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.51923509594053]