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.0009362/0.0009362, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00097/0.00097, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.72/1.72, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.057e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00166/0.001681, allocations: 1.283 MB / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.002504, allocations: 0.8259 MB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.002531, allocations: 0 / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.002563, allocations: 7.938 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.002806, allocations: 8.484 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.002951, allocations: 58.34 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.003025, allocations: 23.92 kB / 0.9527 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.003065, allocations: 0 / 0.9527 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.003138, allocations: 19.98 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.003209, allocations: 3.984 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.00323, allocations: 4 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.003265, allocations: 7.938 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.003312, allocations: 3.984 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.003333, allocations: 4 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.003429, allocations: 27.91 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003433, allocations: 3.938 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003434, allocations: 4 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.003439, allocations: 0 / 0.9527 GB, free: 1.195 MB / 0.9011 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.0002599/0.003699, allocations: 254.4 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.003737, allocations: 8.031 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.003775, allocations: 106 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.003895, allocations: 80.17 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/0.00399, allocations: 189 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.004028, allocations: 158.9 kB / 0.9535 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.004066, allocations: 154.9 kB / 0.9536 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.641e-05/0.004113, allocations: 105.5 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.004133, allocations: 79.47 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.004184, allocations: 158.9 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.004216, allocations: 154.7 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.004251, allocations: 150.6 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.004451, allocations: 425 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.004509, allocations: 173.1 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.004532, allocations: 80.14 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.004553, allocations: 75.28 kB / 0.955 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.004584, allocations: 109.8 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.004584, allocations: 0 / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.556e-05/0.00465, allocations: 37.64 kB / 0.9551 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.004693, allocations: 134.6 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.004802, allocations: 105.8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.004812, allocations: 25.7 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.004845, allocations: 88.12 kB / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.004848, allocations: 0 / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.004877, allocations: 17.67 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.004947, allocations: 314.8 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.004966, allocations: 4 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.004996, allocations: 37.69 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.005027, allocations: 12.95 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005029, allocations: 4 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.00513, allocations: 45.62 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.005146, allocations: 10.66 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.005152, allocations: 0 / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005164, allocations: 0 / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.005165, allocations: 3.938 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00517, allocations: 0 / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.005248, allocations: 0 / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.005258, allocations: 7.984 kB / 0.9559 GB, free: 13.74 MB / 0.9167 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 6.661e-05/0.005324, allocations: 185.2 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.00536, allocations: 113 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.005395, allocations: 108.4 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/0.005437, allocations: 188.2 kB / 0.9565 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/0.005478, allocations: 192.1 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/0.005515, allocations: 176.3 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.00565, allocations: 376.3 kB / 0.9572 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.005674, allocations: 108.9 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.005694, allocations: 101 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.86e-05/0.005733, allocations: 180.2 kB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.005771, allocations: 180.3 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.799e-05/0.005809, allocations: 184.2 kB / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.623e-05/0.005845, allocations: 184.1 kB / 0.9581 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.829e-05/0.005934, allocations: 307.8 kB / 0.9584 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.005982, allocations: 108.9 kB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.006029, allocations: 180.3 kB / 0.9586 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.006079, allocations: 105.2 kB / 0.9587 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.006123, allocations: 184.2 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.006147, allocations: 112.9 kB / 0.959 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.006182, allocations: 83.27 kB / 0.9591 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006182, allocations: 0 / 0.9591 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001519/0.006334, allocations: 4 kB / 0.9591 GB, free: 10.25 MB / 0.9167 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.0004358/0.00677, allocations: 0.8205 MB / 0.9599 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.006843, allocations: 7.938 kB / 0.9599 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006845, allocations: 0 / 0.9599 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.006846, allocations: 0 / 0.9599 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.007169, allocations: 463.6 kB / 0.9604 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.007924, allocations: 1.299 MB / 0.9616 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.007964, allocations: 59.34 kB / 0.9617 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.007984, allocations: 0 / 0.9617 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.008009, allocations: 12.5 kB / 0.9617 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.00801, allocations: 0 / 0.9617 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.02857, allocations: 1.938 MB / 0.9636 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.862, allocations: 12.53 kB / 0.9636 GB, free: 5.684 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.927218969911337]