Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.002023/0.002023, allocations: 104.2 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.002315/0.002315, allocations: 210.4 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.594/1.594, 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.323/3.323, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [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.002074/0.002074, allocations: 67.86 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3928, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002888/0.3957, allocations: 1.488 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3968, allocations: 0.5765 MB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3969, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.3969, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.3972, allocations: 19.84 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.3973, allocations: 27.92 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3974, allocations: 55.83 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3975, allocations: 7.938 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3977, allocations: 35.86 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.3978, allocations: 27.89 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3978, allocations: 4 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.3978, allocations: 16 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.3979, allocations: 11.98 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.3979, allocations: 11.94 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3981, allocations: 47.86 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3981, allocations: 4 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3981, allocations: 3.938 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3981, allocations: 0 / 1.324 GB, free: 468 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006831/0.3988, allocations: 359.3 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3988, allocations: 15.98 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.399, allocations: 12.88 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3992, allocations: 168.3 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3992, allocations: 4.375 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.3992, allocations: 8.359 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3993, allocations: 61.98 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3994, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3994, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3994, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.3995, allocations: 27.97 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.3998, allocations: 284.7 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4001, allocations: 62.67 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.4001, allocations: 20.84 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4001, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4003, allocations: 71.34 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4003, allocations: 0 / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002772/0.4006, allocations: 93.59 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4006, allocations: 51.41 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.4007, allocations: 105.9 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4007, allocations: 29.7 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.4008, allocations: 88.12 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.4008, allocations: 15.86 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.4009, allocations: 21.7 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.401, allocations: 318.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.4011, allocations: 16.23 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.4011, allocations: 12 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.435e-05/0.4012, allocations: 56.84 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4012, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001325/0.4013, allocations: 65.69 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4013, allocations: 8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4013, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4013, allocations: 3.938 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.4014, allocations: 11.98 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4014, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.4015, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4015, allocations: 0 / 1.325 GB, free: 14.27 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001037/0.4016, allocations: 131.2 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4016, allocations: 3.953 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.4019, allocations: 109.5 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4019, allocations: 192 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4019, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4019, allocations: 3.984 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4021, allocations: 181.6 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4021, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.4021, allocations: 8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4021, allocations: 4.094 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4021, allocations: 7.938 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4021, allocations: 4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4021, allocations: 0 / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.4023, allocations: 120.9 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.4024, allocations: 85.09 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4024, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.4025, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.4025, allocations: 11.98 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4025, allocations: 4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.4026, allocations: 83.28 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4026, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001968/0.4028, allocations: 15.95 kB / 1.326 GB, free: 13.4 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001337/0.4029, allocations: 107.1 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.4031, allocations: 52.14 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4031, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.4032, allocations: 31.92 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.4033, allocations: 11.94 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.4037, allocations: 141.4 kB / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.404, allocations: 0.6807 MB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.4041, allocations: 11.98 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.4041, allocations: 11.44 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4041, allocations: 3.938 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Templates: time 0.00322/0.4074, allocations: 0.697 MB / 1.328 GB, free: 11.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.573406072799116]