Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001996/0.001996, allocations: 92.7 kB / 19.44 MB, free: 320 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.002667/0.002667, allocations: 161.3 kB / 22.76 MB, free: 1.652 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.354/3.354, allocations: 429.6 MB / 0.673 GB, free: 3.859 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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.78e-05, allocations: 5.125 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002806/0.002834, allocations: 1.471 MB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003943, allocations: 0.5434 MB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.003985, allocations: 0 / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.004026, allocations: 3.938 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.004229, allocations: 15.92 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.004387, allocations: 43.77 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.004487, allocations: 51.83 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.004571, allocations: 8.938 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.004733, allocations: 31.97 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.004809, allocations: 24.94 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.004833, allocations: 4 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.004888, allocations: 19.98 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.004907, allocations: 9.109 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.004967, allocations: 19.92 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.005111, allocations: 59.78 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.005118, allocations: 4.969 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005118, allocations: 0 / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.005122, allocations: 0 / 0.8799 GB, free: 4.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006589/0.005781, allocations: 286.5 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005817, allocations: 8.031 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.006031, allocations: 28.81 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.006165, allocations: 109.7 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.006182, allocations: 4.359 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.006199, allocations: 8.375 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.00634, allocations: 58.17 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006349, allocations: 0.8125 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006361, allocations: 4.375 kB / 0.8803 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006368, allocations: 4.531 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.006448, allocations: 23.98 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.006923, allocations: 229.3 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.007186, allocations: 71.48 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.007242, allocations: 26.38 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.007259, allocations: 0 / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.00745, allocations: 75.31 kB / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007451, allocations: 0 / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002782/0.007729, allocations: 101.6 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.007789, allocations: 55.41 kB / 0.8809 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.0079, allocations: 101.8 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.007929, allocations: 33.7 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.007987, allocations: 84.09 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.008023, allocations: 27.89 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.00807, allocations: 17.72 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.008241, allocations: 322.8 kB / 0.8815 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.008288, allocations: 12 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.008335, allocations: 23.98 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.008432, allocations: 48.91 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.008433, allocations: 4 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001685/0.008601, allocations: 89.58 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.008615, allocations: 7.938 kB / 0.8816 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008621, allocations: 4 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.008638, allocations: 0 / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.008726, allocations: 11.98 kB / 0.8817 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008731, allocations: 0 / 0.8817 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.00882, allocations: 8 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008829, allocations: 0 / 0.8817 GB, free: 2.164 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: 5 (eqnTim.k,$PRE.eqnTim.k,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 (9): * Single equations (assignments): 9 * 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.0001062/0.008935, allocations: 121.8 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.008959, allocations: 11.89 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.009188, allocations: 113.7 kB / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00919, allocations: 0 / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.009194, allocations: 0 / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009197, allocations: 0 / 0.8819 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.00934, allocations: 121.2 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.009342, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.009408, allocations: 12 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.009415, allocations: 7.922 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.009426, allocations: 11.94 kB / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009428, allocations: 0 / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009429, allocations: 0 / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.009643, allocations: 125 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.009657, allocations: 4 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.00969, allocations: 3.938 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.009766, allocations: 11.98 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.009808, allocations: 7.984 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.009815, allocations: 0 / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.009878, allocations: 83.28 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009878, allocations: 0 / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002025/0.01008, allocations: 16 kB / 0.8823 GB, free: 1.461 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: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001346/0.01022, allocations: 103.2 kB / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01037, allocations: 51.92 kB / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01037, allocations: 0 / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.01044, allocations: 35.92 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.0106, allocations: 3.953 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.01096, allocations: 149.3 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.01105, allocations: 79.52 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.01109, allocations: 7.984 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.01114, allocations: 12.5 kB / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01114, allocations: 0 / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of Templates: time 0.003489/0.01463, allocations: 0.7426 MB / 0.8834 GB, free: 252 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.27196736400947]