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.0008197/0.0008197, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008394/0.0008394, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8829/0.8829, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.08 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.853e-06/1.853e-06, allocations: 0 / 0.9505 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.623e-05, allocations: 5.094 kB / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00177/0.001796, allocations: 1.275 MB / 0.9518 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000912/0.002708, allocations: 0.8336 MB / 0.9526 GB, free: 232 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.00276, allocations: 0 / 0.9526 GB, free: 232 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.002812, allocations: 0 / 0.9526 GB, free: 232 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.003118, allocations: 12.53 kB / 0.9526 GB, free: 220 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.003281, allocations: 55.8 kB / 0.9526 GB, free: 164 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.003365, allocations: 19.92 kB / 0.9527 GB, free: 144 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.003414, allocations: 7.984 kB / 0.9527 GB, free: 136 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.003502, allocations: 15.98 kB / 0.9527 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.00359, allocations: 7.938 kB / 0.9527 GB, free: 112 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.003612, allocations: 0 / 0.9527 GB, free: 112 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.003663, allocations: 15.91 kB / 0.9527 GB, free: 96 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.003718, allocations: 4 kB / 0.9527 GB, free: 92 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.003744, allocations: 4 kB / 0.9527 GB, free: 88 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003865, allocations: 27.91 kB / 0.9527 GB, free: 60 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.003869, allocations: 0 / 0.9527 GB, free: 60 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.003871, allocations: 4 kB / 0.9527 GB, free: 56 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.003877, allocations: 3.938 kB / 0.9527 GB, free: 52 kB / 0.8542 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.0004296/0.004307, allocations: 250.3 kB / 0.953 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.004351, allocations: 8.031 kB / 0.953 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.004402, allocations: 114 kB / 0.9531 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.00446, allocations: 80.22 kB / 0.9532 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.00459, allocations: 189 kB / 0.9534 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.004645, allocations: 150.9 kB / 0.9535 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.00469, allocations: 150.9 kB / 0.9536 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.004751, allocations: 109.5 kB / 0.9538 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.004779, allocations: 75.47 kB / 0.9538 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.004823, allocations: 150.9 kB / 0.954 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.004867, allocations: 154.7 kB / 0.9541 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.004918, allocations: 158.5 kB / 0.9543 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.005176, allocations: 425 kB / 0.9547 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.005254, allocations: 165.1 kB / 0.9548 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.005284, allocations: 80.14 kB / 0.9549 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.00531, allocations: 75.28 kB / 0.955 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.005345, allocations: 109.8 kB / 0.9551 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.005346, allocations: 4 kB / 0.9551 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.029e-05/0.005416, allocations: 33.62 kB / 0.9551 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.005464, allocations: 130.6 kB / 0.9552 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.005579, allocations: 113.8 kB / 0.9554 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.005594, allocations: 29.7 kB / 0.9554 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.005633, allocations: 80.14 kB / 0.9555 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.005635, allocations: 0 / 0.9555 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.005666, allocations: 13.72 kB / 0.9555 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.005749, allocations: 318.8 kB / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.005767, allocations: 0 / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.005801, allocations: 41.7 kB / 0.9558 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.005837, allocations: 20.78 kB / 0.9558 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005839, allocations: 256 / 0.9558 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.005948, allocations: 41.66 kB / 0.9559 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.005964, allocations: 4 kB / 0.9559 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.005973, allocations: 4 kB / 0.9559 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.005986, allocations: 0 / 0.9559 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-06/0.005988, allocations: 11.81 kB / 0.9559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.005997, allocations: 3.984 kB / 0.9559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.006101, allocations: 4.125 kB / 0.9559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.006111, allocations: 8 kB / 0.9559 GB, free: 12.6 MB / 0.8698 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 9.07e-05/0.006202, allocations: 189.1 kB / 0.9561 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.006242, allocations: 109 kB / 0.9562 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.006282, allocations: 112.4 kB / 0.9563 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/0.006329, allocations: 176.3 kB / 0.9565 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.385e-05/0.006382, allocations: 188.2 kB / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.952e-05/0.006432, allocations: 184.3 kB / 0.9568 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.006606, allocations: 376.2 kB / 0.9572 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.006634, allocations: 105 kB / 0.9573 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.006853, allocations: 101 kB / 0.9574 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/0.006902, allocations: 188.2 kB / 0.9576 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.006951, allocations: 180.2 kB / 0.9577 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-05/0.006997, allocations: 180.2 kB / 0.9579 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-05/0.007043, allocations: 184.2 kB / 0.9581 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.007145, allocations: 307.8 kB / 0.9584 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.007198, allocations: 105 kB / 0.9585 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.007247, allocations: 180.2 kB / 0.9586 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.0073, allocations: 101 kB / 0.9587 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.007348, allocations: 184.2 kB / 0.9589 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.007376, allocations: 112.9 kB / 0.959 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.007412, allocations: 83.28 kB / 0.9591 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.007412, allocations: 0 / 0.9591 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001565/0.007568, allocations: 4 kB / 0.9591 GB, free: 9.121 MB / 0.8698 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.0004827/0.008051, allocations: 0.8218 MB / 0.9599 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.008134, allocations: 7.938 kB / 0.9599 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.008137, allocations: 4 kB / 0.9599 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.008138, allocations: 0 / 0.9599 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.008408, allocations: 467.6 kB / 0.9604 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.009233, allocations: 1.293 MB / 0.9616 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.009276, allocations: 63.28 kB / 0.9617 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.009296, allocations: 4 kB / 0.9617 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.009321, allocations: 8.5 kB / 0.9617 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.009322, allocations: 0 / 0.9617 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.02788, allocations: 1.942 MB / 0.9636 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.695, allocations: 5.688 kB / 0.9636 GB, free: 4.547 MB / 0.8698 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.796917879022658]