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.001598/0.001598, allocations: 110.2 kB / 19.69 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.002025/0.002025, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002031/0.002031, allocations: 62.17 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002586/0.3449, allocations: 1.488 MB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3459, allocations: 0.5725 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.346, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.346, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.3462, allocations: 23.84 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.3463, allocations: 31.92 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.3464, allocations: 47.84 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.3465, allocations: 11.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3467, allocations: 31.86 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.3468, allocations: 23.91 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3468, allocations: 7.984 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.3468, allocations: 20 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3468, allocations: 11.98 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3469, allocations: 11.94 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.347, allocations: 55.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.347, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.347, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.347, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 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.000574/0.3476, allocations: 278.2 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3476, allocations: 16.03 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3478, allocations: 20.88 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3479, allocations: 106.5 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3479, allocations: 4.375 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3479, allocations: 4.312 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3481, allocations: 61.97 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3481, allocations: 0 / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3481, allocations: 4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3481, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.3482, allocations: 27.98 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3485, allocations: 247.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3488, allocations: 74.53 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.3488, allocations: 16.86 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3488, allocations: 8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.349, allocations: 67.38 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.349, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002404/0.3492, allocations: 97.56 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3493, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.3493, allocations: 105.8 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3494, allocations: 25.7 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3494, allocations: 84.14 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3494, allocations: 23.84 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3495, allocations: 17.72 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3496, allocations: 322.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.3497, allocations: 12 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.3497, allocations: 15.98 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.111e-05/0.3498, allocations: 32.86 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3498, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001399/0.3499, allocations: 77.67 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3499, allocations: 11.94 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3499, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3499, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.35, allocations: 11.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.35, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.3501, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3501, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 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 8.951e-05/0.3502, allocations: 114.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.3502, allocations: 7.953 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.3504, allocations: 105.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3504, allocations: 4.25 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3504, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3504, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3506, allocations: 152.6 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3506, allocations: 0 / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.3506, allocations: 15.98 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3506, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3506, allocations: 96 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3506, allocations: 3.938 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3506, allocations: 4 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3508, allocations: 124.9 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.3508, allocations: 4 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3508, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.3509, allocations: 3.984 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.351, allocations: 7.984 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.351, allocations: 8 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.351, allocations: 83.28 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.351, allocations: 0 / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001916/0.3512, allocations: 12 kB / 1.332 GB, free: 12.41 MB / 1.029 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.0001172/0.3513, allocations: 99.23 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3515, allocations: 51.86 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3515, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.3515, allocations: 31.92 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.3517, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.352, allocations: 163.3 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3523, allocations: 0.6846 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.3524, allocations: 19.38 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3524, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of Templates: time 0.002384/0.3548, allocations: 0.8352 MB / 1.334 GB, free: 10.46 MB / 1.029 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/jenkins1/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: 11.039269909990253]