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.001369/0.001369, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001917/0.001917, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9441/0.9441, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.143e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002052/0.002083, allocations: 1.471 MB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.002858, allocations: 0.5259 MB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.0029, allocations: 4 kB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.002931, allocations: 3.938 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.003158, allocations: 19.84 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.003315, allocations: 39.83 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003419, allocations: 55.91 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003521, allocations: 4 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.003684, allocations: 43.89 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.003767, allocations: 23.91 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.003791, allocations: 8 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.003841, allocations: 15.98 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.003859, allocations: 8 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.003897, allocations: 19.91 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.004035, allocations: 59.84 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004038, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00404, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004044, allocations: 4 kB / 0.9844 GB, free: 15.76 MB / 0.948 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.0005061/0.00455, allocations: 286.2 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.004591, allocations: 12.03 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.004717, allocations: 16.92 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.004828, allocations: 109.8 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.004848, allocations: 384 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.004861, allocations: 8.359 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.004979, allocations: 62.17 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.004989, allocations: 192 / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005, allocations: 384 / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.005006, allocations: 11.88 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.005062, allocations: 27.98 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.005436, allocations: 236.4 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.005625, allocations: 70.56 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.005662, allocations: 24.84 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.005685, allocations: 0 / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.005871, allocations: 75.31 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.005872, allocations: 0 / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002069/0.006079, allocations: 97.61 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.006119, allocations: 51.41 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.006181, allocations: 113.8 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.006193, allocations: 25.7 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.006228, allocations: 84.14 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.006255, allocations: 23.92 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.00629, allocations: 25.7 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.006376, allocations: 314.8 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.006412, allocations: 20 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.006437, allocations: 15.98 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.006501, allocations: 44.8 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006504, allocations: 0 / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001002/0.006604, allocations: 89.8 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.006619, allocations: 6.969 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.006626, allocations: 96 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.006644, allocations: 11.88 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.00671, allocations: 11.98 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.006715, allocations: 0 / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.006756, allocations: 7.938 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.006765, allocations: 4 kB / 0.9862 GB, free: 13.74 MB / 0.948 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 7.232e-05/0.006837, allocations: 117.8 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.006849, allocations: 11.89 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.007016, allocations: 105.7 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.007021, allocations: 4 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.007025, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.007029, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.007123, allocations: 117.3 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007124, allocations: 0 / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.007164, allocations: 12 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.007167, allocations: 3.938 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.007177, allocations: 7.984 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.00718, allocations: 3.938 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007182, allocations: 7.938 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007308, allocations: 117.2 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.007322, allocations: 15.88 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.007337, allocations: 7.875 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.007371, allocations: 8 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.00741, allocations: 11.98 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.007416, allocations: 3.984 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001142/0.00753, allocations: 83.47 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00753, allocations: 0 / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001365/0.007667, allocations: 15.94 kB / 0.9869 GB, free: 13.04 MB / 0.948 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.0001246/0.007791, allocations: 107.2 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007911, allocations: 51.91 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007912, allocations: 0 / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.007955, allocations: 35.92 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.008075, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.008396, allocations: 178.4 kB / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.008442, allocations: 67.34 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.008483, allocations: 16.48 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/0.008484, allocations: 4 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of Templates: time 0.001935/0.01042, allocations: 0.8905 MB / 0.9882 GB, free: 11.63 MB / 0.948 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: 6.923407206311822]