Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.00193/0.00193, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001817/0.001817, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.629/1.629, 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.787/2.787, allocations: 476 MB / 0.7699 GB, free: 4.727 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.002128/0.002128, allocations: 70.98 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3343, allocations: 169.9 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002566/0.3368, allocations: 1.279 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3382, allocations: 0.8258 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.3382, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.3382, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.3385, allocations: 19.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3387, allocations: 35.94 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.3388, allocations: 23.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3388, allocations: 7.984 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.3389, allocations: 15.92 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.339, allocations: 7.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.339, allocations: 3.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.3391, allocations: 15.97 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.3391, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.3391, allocations: 7.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.682e-05/0.3392, allocations: 23.97 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3392, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3392, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3392, allocations: 0 / 1.285 GB, free: 10.13 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003174/0.3395, allocations: 251.8 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3396, allocations: 12.03 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.3396, allocations: 110 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.3397, allocations: 76.22 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3398, allocations: 189.8 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.3399, allocations: 154.9 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.34, allocations: 154.9 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.66e-05/0.3401, allocations: 107.4 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.3401, allocations: 79.22 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.3402, allocations: 154.5 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/0.3402, allocations: 154.6 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.3403, allocations: 150.6 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.3406, allocations: 421 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3407, allocations: 173.1 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.3407, allocations: 88.19 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.3408, allocations: 75.28 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.3408, allocations: 109.8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3408, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.3409, allocations: 45.52 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.341, allocations: 126.7 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3411, allocations: 105.8 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3411, allocations: 25.7 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.3412, allocations: 80.14 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.3412, allocations: 4 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3412, allocations: 17.72 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3414, allocations: 314.8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.3414, allocations: 7.984 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.3414, allocations: 29.7 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.3415, allocations: 21.09 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3415, allocations: 4 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.3416, allocations: 45.62 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3416, allocations: 7.938 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3416, allocations: 4 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3416, allocations: 4.062 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.3416, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3416, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.3417, allocations: 3.984 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3417, allocations: 4 kB / 1.288 GB, free: 6.676 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001125/0.3418, allocations: 181.1 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.3419, allocations: 112.9 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.342, allocations: 116.4 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-05/0.342, allocations: 180.3 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.668e-05/0.3421, allocations: 180.2 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.352e-05/0.3422, allocations: 180.3 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3424, allocations: 376.3 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.3425, allocations: 112.9 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.3425, allocations: 101 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.3426, allocations: 184.1 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.3427, allocations: 184.2 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.637e-05/0.3428, allocations: 180.3 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.457e-05/0.3429, allocations: 180.4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.343, allocations: 311.8 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.3431, allocations: 113 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.3432, allocations: 184.2 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.3433, allocations: 108.9 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.3433, allocations: 176.3 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.3434, allocations: 104.9 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.3434, allocations: 91.27 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0 / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002766/0.3437, allocations: 4 kB / 1.291 GB, free: 3.188 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006065/0.3443, allocations: 0.8179 MB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.3444, allocations: 11.94 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3444, allocations: 0 / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3444, allocations: 0 / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.3448, allocations: 458.2 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3459, allocations: 1.287 MB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.346, allocations: 63.34 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.346, allocations: 7.938 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.346, allocations: 7.438 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.346, allocations: 160 / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.377, allocations: 1.791 MB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 4.438 kB / 1.295 GB, free: 14.76 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 18.751748038921505]