Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008274/0.0008274, 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.0008247/0.0008247, allocations: 165.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.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.812/1.812, allocations: 389.1 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_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.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.267e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00173/0.001752, allocations: 1.278 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.00257, allocations: 0.8227 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.002598, allocations: 3.938 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.002633, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.002936, allocations: 19.91 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.003083, allocations: 45.94 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.003168, allocations: 23.92 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.003215, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.00331, allocations: 19.97 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.003393, allocations: 4 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.003416, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.003471, allocations: 19.86 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.003533, allocations: 7.984 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.003556, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.003667, allocations: 23.92 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00367, allocations: 3.984 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.263e-06/0.003671, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.003676, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 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.0003152/0.003991, allocations: 250.3 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.004034, allocations: 12.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.004089, allocations: 110 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.004164, allocations: 76.22 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004285, allocations: 185.1 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.004334, allocations: 150.9 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.004382, allocations: 150.9 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.004446, allocations: 109.5 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.004474, allocations: 83.41 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.004522, allocations: 150.9 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.00457, allocations: 158.7 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.004623, allocations: 158.5 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.004882, allocations: 421 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.004965, allocations: 169.1 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.005, allocations: 84.08 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.005028, allocations: 79.28 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.005073, allocations: 109.8 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.005074, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.801e-05/0.005142, allocations: 29.66 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.005197, allocations: 134.6 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.005306, allocations: 109.8 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.005321, allocations: 25.7 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.005354, allocations: 88.14 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.005357, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005386, allocations: 17.66 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.005481, allocations: 318.8 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.005499, allocations: 7.938 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.00553, allocations: 33.7 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.005563, allocations: 16.84 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.005565, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.887e-05/0.005664, allocations: 37.7 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.005679, allocations: 8.125 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.005687, allocations: 3.984 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.0057, allocations: 0 / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.005702, allocations: 3.938 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.005708, allocations: 4 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.005781, allocations: 0 / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.005787, allocations: 0 / 1.005 GB, free: 7.777 MB / 0.9636 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 7.922e-05/0.005867, allocations: 193.1 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.005913, allocations: 113 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.005965, allocations: 108.5 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/0.006027, allocations: 184.2 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003274/0.006354, allocations: 184.2 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/0.006398, allocations: 188.1 kB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.006555, allocations: 376.3 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.006578, allocations: 101 kB / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.006607, allocations: 104.9 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-05/0.006656, allocations: 188.2 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.006704, allocations: 180.2 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.763e-05/0.006752, allocations: 176.5 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/0.006804, allocations: 184.2 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.006906, allocations: 311.8 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.006958, allocations: 112.9 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.007023, allocations: 176.3 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.007072, allocations: 101 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.007125, allocations: 192.1 kB / 1.008 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.007148, allocations: 101 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.007185, allocations: 83.28 kB / 1.008 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007185, allocations: 4 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001439/0.007329, allocations: 0 / 1.008 GB, free: 4.285 MB / 0.9636 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.0004489/0.007778, allocations: 0.8321 MB / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.007852, allocations: 7.938 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.007854, allocations: 0 / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.007856, allocations: 4 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.008109, allocations: 459.6 kB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.008982, allocations: 1.295 MB / 1.011 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.009379, allocations: 59.34 kB / 1.011 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.009406, allocations: 8.156 kB / 1.011 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.009444, allocations: 12.5 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.009445, allocations: 0 / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.03043, allocations: 1.935 MB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.112, allocations: 3.938 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.546673201024532]