Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002007/0.002007, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002343/0.002343, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.448/3.448, allocations: 0.4899 GB / 0.7915 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 70.86 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001996/0.3945, allocations: 0.709 MB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3955, allocations: 0.8358 MB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.3956, allocations: 0 / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.3956, allocations: 3.938 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.3957, allocations: 15.92 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.019e-05/0.3957, allocations: 11.98 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.3958, allocations: 39.86 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3959, allocations: 11.98 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.396, allocations: 23.86 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.3961, allocations: 19.92 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3961, allocations: 4 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.3961, allocations: 4 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.3961, allocations: 11.97 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.3961, allocations: 15.88 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.452e-05/0.3962, allocations: 43.81 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3962, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3962, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3962, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 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.0005858/0.3968, allocations: 367.3 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3969, allocations: 15.98 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.3969, allocations: 0.9375 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3971, allocations: 172.3 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3971, allocations: 4.375 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3971, allocations: 4.375 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.3974, allocations: 74.14 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3974, allocations: 192 / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3974, allocations: 3.938 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3974, allocations: 0 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3977, allocations: 67.92 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3982, allocations: 265 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3984, allocations: 58.41 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3986, allocations: 36.92 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3986, allocations: 11.98 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3986, allocations: 30.56 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3986, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.3992, allocations: 133.5 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3992, allocations: 51.41 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3993, allocations: 109.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3994, allocations: 29.64 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.3994, allocations: 88.12 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3994, allocations: 11.84 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3995, allocations: 17.72 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3996, allocations: 314.8 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3998, allocations: 43.89 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3999, allocations: 27.97 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.4002, allocations: 68.78 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4002, allocations: 7.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003429/0.4005, allocations: 93.62 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4005, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4005, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4006, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4007, allocations: 23.91 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4007, allocations: 4 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.4008, allocations: 15.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.4008, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 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.749e-05/0.4009, allocations: 113.8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.4009, allocations: 3.953 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.4009, allocations: 7.906 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4009, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4009, allocations: 4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4009, allocations: 7.984 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.4011, allocations: 173.5 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4011, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.4012, allocations: 11.98 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.4012, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4012, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.4016, allocations: 203.3 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4017, allocations: 81.06 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.4017, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4018, allocations: 11.98 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4018, allocations: 7.984 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.4019, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.4019, allocations: 87.28 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4019, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002102/0.4021, allocations: 11.94 kB / 1.326 GB, free: 13.88 MB / 1.029 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.0001278/0.4022, allocations: 103.2 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.4026, allocations: 64.3 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4026, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4027, allocations: 39.91 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4031, allocations: 11.92 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.4034, allocations: 129.4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4037, allocations: 0.6848 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.4037, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.4037, allocations: 11.44 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4037, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Templates: time 0.002994/0.4067, allocations: 0.6891 MB / 1.327 GB, free: 12.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.732305265963078]