Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001255/0.001255, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001418/0.001418, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_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.002074/0.002074, allocations: 67.11 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 169.9 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002489/0.3463, allocations: 1.271 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3481, allocations: 1.097 MB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.3481, allocations: 4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3481, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.3486, allocations: 111.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.3486, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.3487, allocations: 4 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.3487, allocations: 0 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.3488, allocations: 4 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3489, allocations: 7.922 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3489, allocations: 3.938 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.3492, allocations: 123.8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.3492, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.3492, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3494, allocations: 111.6 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3494, allocations: 4 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 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.0004211/0.3499, allocations: 274 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3499, allocations: 12.02 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.35, allocations: 106 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.3501, allocations: 80.22 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3502, allocations: 185.8 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.3503, allocations: 154.9 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.3504, allocations: 154.9 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/0.3505, allocations: 108.9 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.3505, allocations: 79.28 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.3506, allocations: 150.6 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.21e-05/0.3507, allocations: 154.6 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.3507, allocations: 150.6 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.3511, allocations: 417 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3512, allocations: 177.1 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.3512, allocations: 84.08 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.3513, allocations: 83.22 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.3513, allocations: 105.8 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3513, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.039e-05/0.3514, allocations: 25.7 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.3515, allocations: 138.6 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3516, allocations: 97.84 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3516, allocations: 25.7 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.3517, allocations: 84.14 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3517, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.3517, allocations: 9.719 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3518, allocations: 310.8 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.3518, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.3518, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.3519, allocations: 79.28 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/0.3519, allocations: 83.41 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.915e-05/0.352, allocations: 33.62 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.352, allocations: 83.28 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/0.3521, allocations: 79.22 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.675e-05/0.3522, allocations: 154.5 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-05/0.3522, allocations: 79.22 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-05/0.3523, allocations: 150.6 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.3524, allocations: 83.28 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.3524, allocations: 79.22 kB / 1.29 GB, free: 4.797 MB / 0.9825 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.0001608/0.3526, allocations: 264.4 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.3527, allocations: 109.1 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.3527, allocations: 112.1 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.3528, allocations: 180.3 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.3529, allocations: 176.3 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-05/0.353, allocations: 196.2 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3532, allocations: 364.3 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/0.3533, allocations: 108.9 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.3533, allocations: 113 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.819e-05/0.3534, allocations: 180.2 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/0.3535, allocations: 184.2 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.162e-05/0.3535, allocations: 176.3 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-05/0.3536, allocations: 188.1 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3538, allocations: 311.8 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.3538, allocations: 108.9 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.3539, allocations: 176.3 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.354, allocations: 104.9 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.3541, allocations: 184.2 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.3542, allocations: 105 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.3542, allocations: 87.22 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003406/0.3546, allocations: 39.8 kB / 1.293 GB, free: 1.207 MB / 0.9825 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.001061/0.3556, allocations: 0.9497 MB / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.047e-05/0.3557, allocations: 0 / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3557, allocations: 0 / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.3557, allocations: 3.938 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.3561, allocations: 463.7 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3579, allocations: 1.548 MB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3583, allocations: 0.6768 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.3583, allocations: 4 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3584, allocations: 7.438 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of SimCode: time 9.71e-07/0.3584, allocations: 0 / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3897, allocations: 1.976 MB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.1, allocations: 14.44 kB / 1.299 GB, free: 11.63 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.859289332060143]