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.001247/0.001247, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00159/0.00159, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.816 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.141/3.141, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002003/0.002003, allocations: 72.05 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002681/0.3468, allocations: 1.248 MB / 1.326 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3486, allocations: 1.095 MB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.3486, allocations: 4 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.3486, allocations: 7.938 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.3491, allocations: 107.6 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.3491, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.3492, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3492, allocations: 3.984 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.3492, allocations: 7.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.3493, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-06/0.3493, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.3495, allocations: 107.9 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-06/0.3495, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.3495, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3497, allocations: 107.9 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.7 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.0003554/0.3501, allocations: 278 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3501, allocations: 12.03 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.3502, allocations: 106 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.3503, allocations: 76.22 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3504, allocations: 189.8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.3505, allocations: 154.9 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.3506, allocations: 150.9 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.3506, allocations: 112.9 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.3507, allocations: 75.28 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.3507, allocations: 154.6 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.3508, allocations: 150.6 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.3509, allocations: 150.6 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.3512, allocations: 421 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3513, allocations: 169.1 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.3513, allocations: 84.08 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.3513, allocations: 83.22 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.3514, allocations: 117.8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3514, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.84e-05/0.3515, allocations: 25.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.3516, allocations: 130.6 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.3517, allocations: 97.84 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3517, allocations: 25.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.3517, allocations: 84.14 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3517, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.3517, allocations: 13.72 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3519, allocations: 311 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.3519, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.3519, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.3519, allocations: 75.28 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/0.3519, allocations: 75.28 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.723e-05/0.352, allocations: 33.62 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.352, allocations: 83.28 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.3521, allocations: 79.22 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-05/0.3521, allocations: 154.5 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.459e-05/0.3522, allocations: 83.34 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.178e-05/0.3523, allocations: 162.6 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.3523, allocations: 79.28 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.3524, allocations: 83.22 kB / 1.332 GB, free: 11.49 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.0001289/0.3525, allocations: 263 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.3526, allocations: 104.9 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.3526, allocations: 112.1 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/0.3527, allocations: 184.3 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.385e-05/0.3528, allocations: 176.3 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/0.3529, allocations: 188.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3531, allocations: 368.3 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.736e-05/0.3531, allocations: 112.9 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.3532, allocations: 105 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.3533, allocations: 180.2 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.3534, allocations: 184.2 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.492e-05/0.3534, allocations: 176.3 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.3535, allocations: 180.2 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3537, allocations: 315.7 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3537, allocations: 104.9 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.3538, allocations: 180.3 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3539, allocations: 104.9 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.354, allocations: 188.2 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.354, allocations: 112.9 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3541, allocations: 79.28 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3541, allocations: 0 / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003356/0.3544, allocations: 43.8 kB / 1.335 GB, free: 7.895 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.0009311/0.3554, allocations: 0.9489 MB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.9e-05/0.3554, allocations: 0 / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3554, allocations: 0 / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.3554, allocations: 3.938 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3558, allocations: 464.7 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3571, allocations: 1.552 MB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.337e-05/0.3572, allocations: 59.34 kB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.3572, allocations: 0 / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3572, allocations: 7.438 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3572, allocations: 0 / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.395, allocations: 2.395 MB / 1.34 GB, free: 2.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.38, allocations: 12.08 kB / 1.34 GB, free: 2.527 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.09702665125951]