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.00146/0.00146, allocations: 84.72 kB / 19.44 MB, free: 356 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.001642/0.001642, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.202/3.202, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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.913e-06/1.913e-06, allocations: 0 / 0.8777 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.605e-05, allocations: 6.25 kB / 0.8777 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001762/0.001798, allocations: 0.703 MB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.002943, allocations: 0.8206 MB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.002982, allocations: 1.312 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.003015, allocations: 3.938 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.003098, allocations: 9.578 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.013e-05/0.003168, allocations: 21.88 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.003258, allocations: 35.92 kB / 0.8792 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.003356, allocations: 11.98 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.00345, allocations: 27.91 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.003493, allocations: 15.98 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.00351, allocations: 0.9375 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.003519, allocations: 4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.003546, allocations: 15.92 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.003576, allocations: 5.125 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003685, allocations: 51.84 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003687, allocations: 0 / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003687, allocations: 1.125 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003691, allocations: 0 / 0.8794 GB, free: 4.684 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.0006286/0.00432, allocations: 287.2 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.004357, allocations: 8.031 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.004402, allocations: 9.969 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004534, allocations: 117.7 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.004551, allocations: 4.359 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.004564, allocations: 6.781 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.004817, allocations: 66.22 kB / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004826, allocations: 192 / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.004835, allocations: 384 / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004839, allocations: 384 / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.005144, allocations: 69.98 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.005521, allocations: 208.6 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.005733, allocations: 56.91 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.00589, allocations: 36.92 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.005905, allocations: 0.5 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.005946, allocations: 30.56 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005947, allocations: 1.875 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005866/0.006534, allocations: 142.6 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.00658, allocations: 51.41 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006687, allocations: 107.4 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.006706, allocations: 25.7 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.006772, allocations: 88.14 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.006797, allocations: 15.84 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.006837, allocations: 21.7 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.007015, allocations: 314.8 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.007167, allocations: 27.97 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.007308, allocations: 35.89 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.007593, allocations: 72.78 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007594, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003514/0.007945, allocations: 101.6 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.007963, allocations: 10.28 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007968, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.007986, allocations: 0 / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.008121, allocations: 19.98 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008126, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.008213, allocations: 19.97 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.008219, allocations: 0 / 0.8812 GB, free: 2.605 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 9.437e-05/0.008314, allocations: 113.8 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.008341, allocations: 3.953 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.008368, allocations: 11.94 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.008369, allocations: 0 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.008373, allocations: 0 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.008375, allocations: 336 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.008532, allocations: 117.3 kB / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008533, allocations: 0 / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.008635, allocations: 15.97 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.008639, allocations: 11.92 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.008646, allocations: 0 / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.00865, allocations: 3.938 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008651, allocations: 0 / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.009062, allocations: 191.5 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.009071, allocations: 3.953 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.009088, allocations: 4 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.009204, allocations: 19.91 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.009246, allocations: 0 / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.009252, allocations: 4 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.009317, allocations: 87.27 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009317, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002276/0.009545, allocations: 8 kB / 0.8818 GB, free: 1.965 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.0001242/0.009669, allocations: 95.25 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.01011, allocations: 71.86 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01011, allocations: 0 / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.01027, allocations: 39.89 kB / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.01056, allocations: 12 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.01091, allocations: 129.4 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.01098, allocations: 75.12 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.01102, allocations: 0 / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.01106, allocations: 12.5 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/0.01106, allocations: 4 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of Templates: time 0.003315/0.01437, allocations: 0.7507 MB / 0.883 GB, free: 0.7461 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=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: 8.188806947087869]