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.001867/0.001867, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002327/0.002327, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.035 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.84/2.84, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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: "" <> 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.002013/0.002013, allocations: 66.75 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002694/0.3375, allocations: 1.483 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3386, allocations: 0.5744 MB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.3386, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.3387, allocations: 4 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.3389, allocations: 24.59 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.339, allocations: 35.89 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.3391, allocations: 47.86 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.3392, allocations: 7.781 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3393, allocations: 39.84 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.3394, allocations: 19.92 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3394, allocations: 4 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.3395, allocations: 15.98 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.3395, allocations: 11.98 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.3396, allocations: 19.92 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.3397, allocations: 51.86 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3397, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3397, allocations: 3.938 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3397, allocations: 0 / 1.286 GB, free: 9.34 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.0005896/0.3403, allocations: 279 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3403, allocations: 12.03 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.3404, allocations: 38.75 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.3405, allocations: 8.922 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3407, allocations: 114.4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3407, allocations: 4.375 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3407, allocations: 4.375 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3408, allocations: 57.78 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3408, allocations: 3.938 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3409, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3409, allocations: 8 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.3409, allocations: 23.97 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3413, allocations: 247.9 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3415, allocations: 54.69 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.3416, allocations: 20.84 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3416, allocations: 4.078 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3418, allocations: 83.3 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3418, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002517/0.342, allocations: 93.62 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.342, allocations: 51.41 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.3421, allocations: 101.8 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3422, allocations: 29.7 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.3422, allocations: 92.08 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3422, allocations: 11.91 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3423, allocations: 21.7 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3424, allocations: 318.8 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.3425, allocations: 15.98 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.3425, allocations: 15.94 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.3426, allocations: 36.84 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3426, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.3427, allocations: 77.64 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3427, allocations: 6.656 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.3427, allocations: 7.922 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3427, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.3428, allocations: 12 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3428, allocations: 240 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3429, allocations: 11.92 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3429, allocations: 0 / 1.287 GB, free: 7.312 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.475e-05/0.343, allocations: 121.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.343, allocations: 11.95 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.3432, allocations: 97.66 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3432, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3432, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.3432, allocations: 96 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3434, allocations: 168.5 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3434, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.3434, allocations: 12 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3434, allocations: 0 / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3434, allocations: 7.984 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3434, allocations: 4 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3434, allocations: 0 / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3436, allocations: 125.2 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.3436, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3436, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.3437, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3438, allocations: 11.98 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3438, allocations: 3.984 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.3438, allocations: 87.45 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 4 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001992/0.344, allocations: 12 kB / 1.288 GB, free: 6.566 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.000568/0.3446, allocations: 0.6591 MB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.3447, allocations: 47.97 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3447, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.3448, allocations: 32.11 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.345, allocations: 6.438 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3463, allocations: 1.231 MB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3466, allocations: 0.6846 MB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.3466, allocations: 8 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.3467, allocations: 15.44 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3467, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3753, allocations: 1.781 MB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 9.438 kB / 1.292 GB, free: 2.098 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.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: 17.825397248147056]