Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002059/0.002059, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002667/0.002667, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.792/2.792, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.099e-05, allocations: 5.125 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003003/0.003034, allocations: 1.462 MB / 0.7878 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004197, allocations: 0.5291 MB / 0.7883 GB, free: 9.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.004242, allocations: 0 / 0.7883 GB, free: 9.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.00428, allocations: 3.938 kB / 0.7883 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.004543, allocations: 29.59 kB / 0.7884 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.00472, allocations: 31.84 kB / 0.7884 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.00483, allocations: 52.41 kB / 0.7884 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.00492, allocations: 4 kB / 0.7884 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.00511, allocations: 44.7 kB / 0.7885 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.005198, allocations: 19.97 kB / 0.7885 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.00522, allocations: 4.906 kB / 0.7885 GB, free: 9.527 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.005297, allocations: 15.98 kB / 0.7885 GB, free: 9.512 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.005321, allocations: 12.61 kB / 0.7885 GB, free: 9.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.005378, allocations: 19.98 kB / 0.7886 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.005538, allocations: 64.34 kB / 0.7886 GB, free: 9.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005541, allocations: 0.875 kB / 0.7886 GB, free: 9.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005541, allocations: 0 / 0.7886 GB, free: 9.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005546, allocations: 0 / 0.7886 GB, free: 9.418 MB / 0.698 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.0007038/0.00625, allocations: 291.7 kB / 0.7889 GB, free: 9.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.006293, allocations: 8.812 kB / 0.7889 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.006508, allocations: 22.14 kB / 0.7889 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.006655, allocations: 117.7 kB / 0.789 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.006672, allocations: 384 / 0.789 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.006687, allocations: 4.375 kB / 0.789 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.006845, allocations: 65.06 kB / 0.7891 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.006854, allocations: 192 / 0.7891 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.006871, allocations: 8.375 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.006878, allocations: 3.938 kB / 0.7891 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.006961, allocations: 23.98 kB / 0.7891 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.007458, allocations: 212.6 kB / 0.7893 GB, free: 8.594 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.007709, allocations: 75.92 kB / 0.7894 GB, free: 8.512 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.007766, allocations: 24.84 kB / 0.7894 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007785, allocations: 0 / 0.7894 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.007991, allocations: 71.92 kB / 0.7895 GB, free: 8.402 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007992, allocations: 0 / 0.7895 GB, free: 8.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003065/0.008298, allocations: 114.6 kB / 0.7896 GB, free: 8.285 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.008355, allocations: 55.41 kB / 0.7897 GB, free: 8.219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.00846, allocations: 106.5 kB / 0.7898 GB, free: 8.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.008489, allocations: 29.7 kB / 0.7898 GB, free: 8.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.008548, allocations: 85.52 kB / 0.7899 GB, free: 7.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.008583, allocations: 19.8 kB / 0.7899 GB, free: 7.965 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.008635, allocations: 25.7 kB / 0.7899 GB, free: 7.934 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.008811, allocations: 314.8 kB / 0.7902 GB, free: 7.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.008863, allocations: 21.8 kB / 0.7902 GB, free: 7.598 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.008907, allocations: 19.98 kB / 0.7903 GB, free: 7.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.009005, allocations: 48.92 kB / 0.7903 GB, free: 7.527 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009007, allocations: 3.938 kB / 0.7903 GB, free: 7.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001823/0.009189, allocations: 91.08 kB / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009204, allocations: 4 kB / 0.7904 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.009213, allocations: 4 kB / 0.7904 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.009232, allocations: 4 kB / 0.7904 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.009316, allocations: 12.48 kB / 0.7904 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.009322, allocations: 0 / 0.7904 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.009403, allocations: 13.83 kB / 0.7904 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.009413, allocations: 0 / 0.7904 GB, free: 7.395 MB / 0.698 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.0001071/0.00952, allocations: 113.8 kB / 0.7905 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.009542, allocations: 7.938 kB / 0.7906 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.009778, allocations: 112.1 kB / 0.7907 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009781, allocations: 0 / 0.7907 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009785, allocations: 0 / 0.7907 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.009791, allocations: 3.984 kB / 0.7907 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.00994, allocations: 129.2 kB / 0.7908 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009942, allocations: 0 / 0.7908 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.01002, allocations: 16.47 kB / 0.7908 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.01003, allocations: 4.656 kB / 0.7908 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.01004, allocations: 0 / 0.7908 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01004, allocations: 0.5312 kB / 0.7908 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01004, allocations: 0 / 0.7908 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.01026, allocations: 126.6 kB / 0.7909 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.01028, allocations: 11.95 kB / 0.7909 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.0103, allocations: 3.938 kB / 0.7909 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.01037, allocations: 4 kB / 0.7909 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.01042, allocations: 12.61 kB / 0.791 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.01043, allocations: 4.672 kB / 0.791 GB, free: 6.801 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.01049, allocations: 79.28 kB / 0.791 GB, free: 6.723 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01049, allocations: 0.6875 kB / 0.791 GB, free: 6.723 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000208/0.01069, allocations: 16 kB / 0.7911 GB, free: 6.707 MB / 0.698 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.0001417/0.01084, allocations: 100.1 kB / 0.7911 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01102, allocations: 57.06 kB / 0.7912 GB, free: 6.543 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01103, allocations: 4 kB / 0.7912 GB, free: 6.539 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.0111, allocations: 27.92 kB / 0.7912 GB, free: 6.512 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01126, allocations: 8.562 kB / 0.7912 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.01166, allocations: 157.3 kB / 0.7914 GB, free: 6.324 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.01173, allocations: 68.19 kB / 0.7915 GB, free: 6.238 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.01177, allocations: 9.766 kB / 0.7915 GB, free: 6.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01182, allocations: 16.5 kB / 0.7915 GB, free: 6.215 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.01182, allocations: 0.8125 kB / 0.7915 GB, free: 6.215 MB / 0.698 GB Notification: Performance of Templates: time 0.003639/0.01546, allocations: 0.7396 MB / 0.7922 GB, free: 5.516 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.723407568060793]