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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002004/0.002004, allocations: 71.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9226/0.9246, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003003/0.9276, allocations: 1.463 MB / 1.275 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.9286, allocations: 0.5159 MB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.9287, allocations: 4 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.9287, allocations: 3.938 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.929, allocations: 19.86 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.9291, allocations: 31.89 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.9292, allocations: 43.92 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.9293, allocations: 4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.9295, allocations: 35.84 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.9296, allocations: 23.91 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.9296, allocations: 4 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.9296, allocations: 4 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.9296, allocations: 11.97 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.9297, allocations: 19.88 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.9298, allocations: 43.67 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9298, allocations: 4 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9298, allocations: 0 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.9298, allocations: 4 kB / 1.276 GB, free: 2.172 MB / 0.9669 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.0007082/0.9305, allocations: 354.2 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9306, allocations: 8.031 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.9306, allocations: 0.9375 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.9308, allocations: 180.2 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.9308, allocations: 4.375 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.9308, allocations: 8.359 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.931, allocations: 61.98 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.931, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.931, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.931, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.9311, allocations: 27.98 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.9315, allocations: 276.7 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.9318, allocations: 66.67 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.9318, allocations: 20.84 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.9318, allocations: 0 / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.932, allocations: 67.39 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 4.038e-06/0.932, allocations: 3.984 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002921/0.9323, allocations: 93.59 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.9324, allocations: 59.41 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.9325, allocations: 97.86 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.9326, allocations: 29.7 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.9326, allocations: 92.08 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.9327, allocations: 15.84 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.9327, allocations: 21.78 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9329, allocations: 322.7 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.9329, allocations: 19.97 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.933, allocations: 16 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.933, allocations: 44.78 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.933, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001287/0.9332, allocations: 69.64 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9332, allocations: 8 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9332, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9332, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.9333, allocations: 11.98 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9333, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.9334, allocations: 4 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.9334, allocations: 4.234 kB / 1.278 GB, free: 0 / 0.9669 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.0001327/0.9335, allocations: 129.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.9335, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.9338, allocations: 109.5 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9338, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9338, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9338, allocations: 4 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.934, allocations: 185.5 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.934, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.934, allocations: 12 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.934, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.934, allocations: 8 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.934, allocations: 256 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9341, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.9343, allocations: 121 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.9344, allocations: 92.98 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.9344, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.9344, allocations: 8 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.9345, allocations: 7.984 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.9345, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.9346, allocations: 83.28 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9346, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001955/0.9348, allocations: 12 kB / 1.279 GB, free: 15.13 MB / 0.9825 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.0001483/0.9349, allocations: 103.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.9351, allocations: 51.86 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9351, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.9352, allocations: 31.92 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.9353, allocations: 8 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.9358, allocations: 153.8 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.9362, allocations: 0.6846 MB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.837e-05/0.9363, allocations: 12.31 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.9363, allocations: 15.38 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.9363, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.00413/0.9404, allocations: 0.7087 MB / 1.281 GB, free: 13.31 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.043896149843931]