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.0008706/0.0008706, allocations: 80.48 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.0007739/0.0007739, allocations: 173.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.8955/0.8955, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.452e-06/1.452e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.729e-05, allocations: 5.234 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00187/0.001897, allocations: 1.471 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000707/0.002604, allocations: 0.5305 MB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.002643, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.002674, allocations: 3.938 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.002906, allocations: 23.84 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.003033, allocations: 27.86 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.003117, allocations: 59.83 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.00321, allocations: 7.984 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003348, allocations: 39.91 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.003413, allocations: 15.97 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.00343, allocations: 8 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.003476, allocations: 15.94 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003494, allocations: 19.91 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.003528, allocations: 11.98 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003657, allocations: 63.78 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003659, allocations: 4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.784e-06/0.003661, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003665, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 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.0004786/0.004143, allocations: 290.2 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004179, allocations: 8.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004292, allocations: 12.92 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.004381, allocations: 117.7 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.004396, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004407, allocations: 8.375 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.004508, allocations: 58.22 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004516, allocations: 192 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004527, allocations: 4.375 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004533, allocations: 3.938 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.004588, allocations: 27.98 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.004926, allocations: 224.5 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.005097, allocations: 70.67 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.005128, allocations: 20.84 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005143, allocations: 0 / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.005284, allocations: 75.34 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005285, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001948/0.00548, allocations: 105.6 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005514, allocations: 55.41 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.00557, allocations: 105.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005582, allocations: 37.56 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.005616, allocations: 88.14 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.00564, allocations: 19.8 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.005676, allocations: 25.7 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.005751, allocations: 314.8 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.005781, allocations: 23.92 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.005805, allocations: 19.98 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.005863, allocations: 36.86 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005865, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.704e-05/0.005963, allocations: 93.55 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005976, allocations: 8 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005981, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.005994, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.006049, allocations: 8 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.006054, allocations: 3.984 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.006093, allocations: 11.95 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.0061, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 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 6.18e-05/0.006162, allocations: 118.1 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.006171, allocations: 7.938 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.006324, allocations: 113.7 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006326, allocations: 4 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00633, allocations: 0 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.006335, allocations: 3.984 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.006414, allocations: 125.2 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006415, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.006447, allocations: 8 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.006451, allocations: 3.938 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006458, allocations: 4 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006458, allocations: 320 / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006459, allocations: 4 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.006564, allocations: 117 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.006582, allocations: 15.88 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.006598, allocations: 7.938 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.00663, allocations: 8 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.006662, allocations: 7.984 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.006667, allocations: 0 / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.006698, allocations: 95.2 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006698, allocations: 0 / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001255/0.006823, allocations: 8 kB / 1.006 GB, free: 7.957 MB / 0.9636 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 8.985e-05/0.006913, allocations: 111.2 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.007025, allocations: 47.97 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.007026, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.007068, allocations: 32.31 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.007185, allocations: 4.172 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.007466, allocations: 186.3 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.007508, allocations: 71.28 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.007544, allocations: 12.5 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.007545, allocations: 4 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of Templates: time 0.001758/0.009303, allocations: 0.8881 MB / 1.007 GB, free: 6.551 MB / 0.9636 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: 6.63750718254596]