Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001287/0.001287, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001421/0.001421, allocations: 222.4 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.832 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.107/3.107, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001939/0.001939, allocations: 66.61 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002803/0.3728, allocations: 1.264 MB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3747, allocations: 1.087 MB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.3748, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.3748, allocations: 3.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.3753, allocations: 107.6 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.3753, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.841e-05/0.3754, allocations: 7.984 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3754, allocations: 3.938 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.3754, allocations: 3.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.3755, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.3755, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.3757, allocations: 111.9 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.3758, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.3758, allocations: 3.938 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.376, allocations: 100 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.376, allocations: 3.984 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.376, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.376, allocations: 0 / 1.328 GB, free: 14.82 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.0003625/0.3764, allocations: 274 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3764, allocations: 8.031 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.3765, allocations: 106 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.3766, allocations: 84.22 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3768, allocations: 189.8 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.957e-05/0.3769, allocations: 154.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/0.3769, allocations: 154.9 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.377, allocations: 112.9 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.3771, allocations: 75.28 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.3771, allocations: 154.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.3772, allocations: 150.6 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.3773, allocations: 154.6 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3776, allocations: 413 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3777, allocations: 177.1 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.3778, allocations: 84.14 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.3778, allocations: 79.22 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.3779, allocations: 113.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3779, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.09e-05/0.3779, allocations: 25.7 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.378, allocations: 130.6 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3781, allocations: 93.86 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3781, allocations: 25.7 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.3782, allocations: 84.14 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.3782, allocations: 4.125 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.3782, allocations: 13.72 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3783, allocations: 314.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.3784, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.3784, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.3784, allocations: 75.28 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/0.3784, allocations: 79.22 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.948e-05/0.3785, allocations: 33.64 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.3785, allocations: 81.16 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/0.3786, allocations: 83.22 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/0.3786, allocations: 150.6 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.3787, allocations: 91.34 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.14e-05/0.3788, allocations: 162.6 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/0.3788, allocations: 75.28 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3789, allocations: 79.22 kB / 1.332 GB, free: 10.61 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 (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 prepare postOptimizeDAE: time 0.0001409/0.379, allocations: 260.4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.3791, allocations: 104.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.3792, allocations: 112.1 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-05/0.3792, allocations: 188.2 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-05/0.3793, allocations: 176.3 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.752e-05/0.3794, allocations: 184.2 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3797, allocations: 376.3 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.3797, allocations: 108.9 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.3798, allocations: 105 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.3798, allocations: 176.3 kB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.3799, allocations: 180.2 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.782e-05/0.38, allocations: 180.3 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.123e-05/0.3801, allocations: 184.2 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3803, allocations: 299.8 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.3803, allocations: 112.9 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.3804, allocations: 180.2 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3805, allocations: 116.9 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.3806, allocations: 180.3 kB / 1.335 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.3807, allocations: 101 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.3807, allocations: 83.22 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3807, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003858/0.3811, allocations: 47.73 kB / 1.336 GB, free: 7.02 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.001014/0.3821, allocations: 0.9571 MB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.876e-05/0.3822, allocations: 0 / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3822, allocations: 4 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.3822, allocations: 3.938 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3826, allocations: 460.6 kB / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3839, allocations: 1.56 MB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.515e-05/0.384, allocations: 51.36 kB / 1.339 GB, free: 3.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.384, allocations: 0 / 1.339 GB, free: 3.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.384, allocations: 11.44 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.384, allocations: 0 / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.4168, allocations: 2.401 MB / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.44, allocations: 9.75 kB / 1.341 GB, free: 1.637 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.132550865004305]