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.001371/0.001371, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001956/0.001956, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 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.963/2.963, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [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.002121/0.002121, allocations: 66.61 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3372, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002934/0.3401, allocations: 1.477 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3413, allocations: 0.5239 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3413, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.3414, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3416, allocations: 23.84 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.3418, allocations: 31.91 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3419, allocations: 51.78 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3421, allocations: 11.98 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3422, allocations: 31.86 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.3423, allocations: 23.91 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3424, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.3424, allocations: 8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.3425, allocations: 11.98 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.3425, allocations: 19.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3427, allocations: 51.38 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3427, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3427, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3427, allocations: 0 / 1.285 GB, free: 10.16 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.0006211/0.3433, allocations: 288.1 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3434, allocations: 12.02 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.3434, allocations: 30.75 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3436, allocations: 8.938 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3437, allocations: 122.4 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3437, allocations: 4.312 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3437, allocations: 4.375 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3439, allocations: 57.8 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3439, allocations: 4 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3439, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3439, allocations: 3.984 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.344, allocations: 27.97 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3444, allocations: 247.8 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3446, allocations: 58.67 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.3447, allocations: 16.86 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3447, allocations: 7.922 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.3449, allocations: 71.33 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3449, allocations: 4 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002522/0.3452, allocations: 93.62 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3452, allocations: 55.39 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.3453, allocations: 101.9 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3453, allocations: 25.7 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.3454, allocations: 84.14 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3454, allocations: 15.89 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3454, allocations: 17.72 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3456, allocations: 326.8 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.3457, allocations: 12 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.3457, allocations: 20.23 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.3458, allocations: 36.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3458, allocations: 4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.3459, allocations: 81.69 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3459, allocations: 8 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3459, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.346, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.346, allocations: 11.98 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.346, allocations: 240 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.3461, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3461, allocations: 0 / 1.287 GB, free: 8.141 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 0.000102/0.3462, allocations: 129.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3462, allocations: 7.938 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.3465, allocations: 109.5 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3465, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3465, allocations: 3.984 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3465, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3466, allocations: 144.7 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.3467, allocations: 8 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3467, allocations: 8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3467, allocations: 3.984 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3467, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3467, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3469, allocations: 132.9 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.3469, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3469, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.347, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.347, allocations: 11.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3471, allocations: 7.984 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.3471, allocations: 79.28 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3471, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001877/0.3473, allocations: 12 kB / 1.287 GB, free: 7.402 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.0005236/0.3478, allocations: 0.6634 MB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.348, allocations: 40.25 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.348, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.348, allocations: 35.86 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.3482, allocations: 6.188 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3496, allocations: 1.223 MB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.069e-05/0.3496, allocations: 75.33 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.3497, allocations: 4 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.3497, allocations: 19.42 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3497, allocations: 0 / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3801, allocations: 2.162 MB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 12.05 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/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] "Error: Could not read variable eqnTim.nDay in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv. Warning: Get data of variable eqnTim.nDay from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.99139220174402]