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.001323/0.001323, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001451/0.001451, allocations: 219.6 kB / 22.25 MB, free: 5.258 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.781 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.171/3.171, allocations: 0.49 GB / 0.7951 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] 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.002108/0.002108, allocations: 62.38 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4105, allocations: 176.1 MB / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002901/0.4134, allocations: 1.305 MB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.4149, allocations: 0.818 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.415, allocations: 3.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.415, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.4153, allocations: 15.94 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.4155, allocations: 49.3 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.4156, allocations: 23.91 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.4156, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.4157, allocations: 11.94 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4158, allocations: 11.97 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4158, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.4159, allocations: 7.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.4159, allocations: 7.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.416, allocations: 15.97 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.4161, allocations: 24.14 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 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.0003772/0.4165, allocations: 250.4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4165, allocations: 12.03 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.894e-05/0.4166, allocations: 106 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.4167, allocations: 76.22 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4168, allocations: 185.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.4169, allocations: 154.9 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.417, allocations: 158.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.4171, allocations: 109.5 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.4171, allocations: 79.22 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.4172, allocations: 154.5 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.4173, allocations: 154.6 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.4175, allocations: 150.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.4179, allocations: 425 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.418, allocations: 173.1 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.418, allocations: 84.12 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.418, allocations: 75.28 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.4181, allocations: 113.8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.4181, allocations: 3.938 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.994e-05/0.4182, allocations: 37.62 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.4183, allocations: 126.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4184, allocations: 105.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4184, allocations: 29.64 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.4185, allocations: 84.14 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.4185, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.4185, allocations: 21.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4186, allocations: 310.8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.4187, allocations: 4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.4187, allocations: 41.62 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.4187, allocations: 16.86 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4187, allocations: 4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.4189, allocations: 37.69 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4189, allocations: 11.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4189, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4189, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.457e-06/0.4189, allocations: 3.938 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4189, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4191, allocations: 4.125 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.4191, allocations: 4 kB / 1.331 GB, free: 11.9 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.0001223/0.4192, allocations: 185.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.4193, allocations: 112.9 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.4194, allocations: 108.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-05/0.4194, allocations: 184.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.081e-05/0.4195, allocations: 180.3 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.302e-05/0.4196, allocations: 184.2 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.4199, allocations: 372.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/0.4199, allocations: 105 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.42, allocations: 113 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.4201, allocations: 188.3 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.4201, allocations: 184.2 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-05/0.4202, allocations: 180.3 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.713e-05/0.4203, allocations: 180.2 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.4205, allocations: 303.8 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.4206, allocations: 108.9 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4207, allocations: 184.2 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.4208, allocations: 108.9 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.4209, allocations: 176.3 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.4209, allocations: 105 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.421, allocations: 87.28 kB / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 0 / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002503/0.4212, allocations: 7.938 kB / 1.334 GB, free: 8.406 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.0006047/0.4218, allocations: 0.8231 MB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.4219, allocations: 4 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4219, allocations: 3.938 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.4219, allocations: 4.062 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4223, allocations: 464.4 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4235, allocations: 1.298 MB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.4236, allocations: 63.34 kB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.526e-05/0.4236, allocations: 0 / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.4236, allocations: 7.438 kB / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4236, allocations: 0 / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.4525, allocations: 1.831 MB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.67, allocations: 12.19 kB / 1.339 GB, free: 3.953 MB / 1.029 GB " [Timeout remaining time 288] (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.467635845008772]