Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001612/0.001612, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001492/0.001492, allocations: 223.1 kB / 22.25 MB, free: 5.102 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.797 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.158/3.158, allocations: 0.49 GB / 0.7951 GB, free: 35.63 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,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001975/0.001975, allocations: 71.22 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.371, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002673/0.3737, allocations: 1.292 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.375, allocations: 0.8261 MB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.3751, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3751, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.3754, allocations: 15.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3755, allocations: 47.42 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.3756, allocations: 27.86 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3757, allocations: 8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.3757, allocations: 11.98 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.3758, allocations: 7.984 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3759, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.3759, allocations: 7.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.3759, allocations: 15.92 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.376, allocations: 3.984 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.3761, allocations: 24.14 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3761, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3761, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3761, allocations: 0 / 1.328 GB, free: 15.23 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.0003791/0.3765, allocations: 264.2 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3765, allocations: 8.031 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.3766, allocations: 106 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.3767, allocations: 80.22 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.3768, allocations: 181.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.3769, allocations: 154.9 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.377, allocations: 150.9 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.3771, allocations: 109.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.3771, allocations: 83.22 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.3772, allocations: 158.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.3773, allocations: 150.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.3773, allocations: 158.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.3776, allocations: 421 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3778, allocations: 173.1 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.3778, allocations: 84.12 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.3779, allocations: 75.28 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.3779, allocations: 109.8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.3779, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.345e-05/0.378, allocations: 33.64 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.3781, allocations: 134.6 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3782, allocations: 105.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3782, allocations: 33.64 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3783, allocations: 84.14 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.3783, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.3783, allocations: 21.7 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3785, allocations: 310.8 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.3785, allocations: 4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.3785, allocations: 37.69 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.3786, allocations: 16.86 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3786, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.3787, allocations: 41.78 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3787, allocations: 11.94 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3787, allocations: 3.938 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3787, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.3787, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3787, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.3788, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3788, allocations: 4 kB / 1.331 GB, free: 11.77 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.000122/0.379, allocations: 185.1 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.379, allocations: 112.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.3791, allocations: 116.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.933e-05/0.3792, allocations: 180.3 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.3793, allocations: 176.3 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.527e-05/0.3793, allocations: 184.2 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3796, allocations: 372.3 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/0.3796, allocations: 108.9 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3797, allocations: 105 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.3798, allocations: 180.4 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.3799, allocations: 188.3 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.15e-05/0.3799, allocations: 184.3 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.871e-05/0.38, allocations: 180.5 kB / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3802, allocations: 307.8 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.3803, allocations: 112.9 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.3803, allocations: 188.2 kB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.3804, allocations: 104.9 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.3805, allocations: 180.2 kB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.3806, allocations: 105 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.3806, allocations: 87.22 kB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3806, allocations: 3.938 kB / 1.334 GB, free: 8.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002319/0.3809, allocations: 4 kB / 1.334 GB, free: 8.27 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.0007417/0.3816, allocations: 0.832 MB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/0.3817, allocations: 4 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3817, allocations: 0 / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.3817, allocations: 3.938 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3821, allocations: 461.7 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3834, allocations: 1.291 MB / 1.337 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.808e-05/0.3835, allocations: 59.5 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.3835, allocations: 8 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3835, allocations: 7.438 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3835, allocations: 0 / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.4143, allocations: 1.8 MB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.43, allocations: 6.766 kB / 1.339 GB, free: 3.82 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.368097698985366]