Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001774/0.001774, 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.002527/0.002527, allocations: 214.1 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.056/3.056, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.002071/0.002071, allocations: 71.22 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002458/0.3563, allocations: 1.293 MB / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3575, allocations: 0.8219 MB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.3575, allocations: 0 / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.3575, allocations: 0 / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3577, allocations: 11.94 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3579, allocations: 51.86 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.358, allocations: 27.91 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.358, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.3581, allocations: 8 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3582, allocations: 17.41 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3582, allocations: 0 / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.3582, allocations: 4 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.3583, allocations: 11.98 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.3583, allocations: 4 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.3584, allocations: 28.12 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3584, allocations: 4 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3584, allocations: 0 / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3584, allocations: 0 / 1.327 GB, free: 88 kB / 1.014 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.000364/0.3588, allocations: 250.4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3588, allocations: 12.03 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.3589, allocations: 110 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.359, allocations: 76.22 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3591, allocations: 189.7 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.3592, allocations: 158.9 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.3593, allocations: 154.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.3593, allocations: 105.5 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.3594, allocations: 83.22 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.3594, allocations: 150.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/0.3595, allocations: 154.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.3596, allocations: 158.5 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3599, allocations: 421 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.36, allocations: 165.1 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.3601, allocations: 88.08 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.3601, allocations: 83.22 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.3601, allocations: 113.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3601, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.673e-05/0.3602, allocations: 33.64 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.3603, allocations: 130.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3604, allocations: 105.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3604, allocations: 25.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.3605, allocations: 84.12 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3605, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3605, allocations: 21.7 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3607, allocations: 314.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.3607, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.3607, allocations: 33.69 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.3608, allocations: 24.89 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3608, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.3609, allocations: 41.69 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3609, allocations: 7.938 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3609, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3609, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.3609, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3609, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.3611, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3611, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 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.000156/0.3612, allocations: 193.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.3613, allocations: 120.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.3614, allocations: 104.5 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.563e-05/0.3614, allocations: 176.3 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.568e-05/0.3615, allocations: 188.2 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.3616, allocations: 176.3 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.3618, allocations: 376.2 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.3619, allocations: 105 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.3619, allocations: 109.1 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.362, allocations: 188.3 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.3621, allocations: 184.3 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.596e-05/0.3622, allocations: 184.2 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.222e-05/0.3622, allocations: 184.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.3624, allocations: 303.8 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.3625, allocations: 105 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.3625, allocations: 188.1 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.3626, allocations: 105.2 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.3627, allocations: 180.2 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.3628, allocations: 105 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.3628, allocations: 95.2 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3628, allocations: 0 / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002154/0.363, allocations: 8 kB / 1.334 GB, free: 9.121 MB / 1.029 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.0005428/0.3636, allocations: 0.819 MB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.288e-05/0.3636, allocations: 7.984 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3636, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.053e-06/0.3636, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.364, allocations: 460.9 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3651, allocations: 1.299 MB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.3652, allocations: 55.36 kB / 1.336 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.3652, allocations: 4 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3652, allocations: 11.42 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3652, allocations: 0 / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3944, allocations: 1.812 MB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.39, allocations: 13.56 kB / 1.338 GB, free: 4.699 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.04824914317578]