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.00134/0.00134, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001515/0.001515, allocations: 216.7 kB / 23.01 MB, free: 5.125 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.8 MB / 0.7714 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 66.28 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002908/0.3421, allocations: 1.481 MB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3432, allocations: 0.5822 MB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.3432, allocations: 0 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.3433, allocations: 7.922 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3435, allocations: 11.88 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.3436, allocations: 35.89 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3437, allocations: 51.84 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.3438, allocations: 4 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.344, allocations: 35.84 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.3441, allocations: 27.91 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3441, allocations: 4 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.3441, allocations: 11.98 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.3442, allocations: 12 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3442, allocations: 15.92 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3443, allocations: 59.73 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 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.0005794/0.3449, allocations: 282.2 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.345, allocations: 12.03 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3451, allocations: 12.89 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3453, allocations: 110.5 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3453, allocations: 8.312 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3453, allocations: 384 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3454, allocations: 61.98 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3454, allocations: 0 / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3455, allocations: 4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3455, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.3455, allocations: 23.98 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3459, allocations: 251.8 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.3462, allocations: 62.62 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.3463, allocations: 24.84 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3463, allocations: 4 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.3464, allocations: 71.36 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3464, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.00026/0.3467, allocations: 101.6 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3467, allocations: 51.41 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.3468, allocations: 109.8 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3469, allocations: 25.7 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.3469, allocations: 80.14 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.347, allocations: 19.86 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.347, allocations: 21.7 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3472, allocations: 314.8 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.3472, allocations: 23.92 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.3473, allocations: 12 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/0.3473, allocations: 44.94 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3473, allocations: 4 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001252/0.3475, allocations: 77.67 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3475, allocations: 6.344 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3475, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3475, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.3476, allocations: 11.98 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3476, allocations: 4 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.3476, allocations: 0 / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3476, allocations: 7.984 kB / 1.289 GB, free: 6.863 MB / 0.9825 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 9.551e-05/0.3477, allocations: 117.8 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3478, allocations: 11.89 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.348, allocations: 101.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.348, allocations: 4 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.348, allocations: 0 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.348, allocations: 3.938 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3481, allocations: 152.7 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3481, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.3482, allocations: 12 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3482, allocations: 4 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3482, allocations: 0 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3482, allocations: 3.984 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3482, allocations: 0 / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3484, allocations: 128.9 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.3484, allocations: 0 / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3484, allocations: 8 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.3485, allocations: 192 / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3485, allocations: 11.98 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3485, allocations: 8.188 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.3486, allocations: 87.27 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3486, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002012/0.3488, allocations: 8 kB / 1.289 GB, free: 6.133 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.0001123/0.3489, allocations: 99.25 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.3491, allocations: 59.84 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3491, allocations: 4 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.3491, allocations: 23.94 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3493, allocations: 10.81 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3496, allocations: 159.3 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.35, allocations: 0.6923 MB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.35, allocations: 11.44 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.35, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.002348/0.3524, allocations: 0.8467 MB / 1.291 GB, free: 4.18 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 -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/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: 10.980609299003845]