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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.469/2.469, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.91 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7458, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001804/0.7476, allocations: 1.246 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7488, allocations: 1.074 MB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.7488, allocations: 4 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.7488, allocations: 0.9375 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.7491, allocations: 111.1 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.7491, allocations: 0 / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.534e-05/0.7492, allocations: 2.156 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.7492, allocations: 2.188 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.7492, allocations: 0.75 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.7493, allocations: 12.28 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.7493, allocations: 3.938 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.7495, allocations: 124.3 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-06/0.7495, allocations: 4 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.124e-05/0.7495, allocations: 4.688 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.7497, allocations: 110.8 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7497, allocations: 3.312 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7497, allocations: 0 / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7497, allocations: 0 / 1.274 GB, free: 5.961 MB / 0.9981 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.0001997/0.7499, allocations: 348 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.7499, allocations: 9.781 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.979e-05/0.75, allocations: 106 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.75, allocations: 84.2 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.7501, allocations: 245.7 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7501, allocations: 154.9 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.7501, allocations: 152 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.322e-05/0.7501, allocations: 104.9 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7502, allocations: 76.22 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7502, allocations: 154.6 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.7502, allocations: 151.7 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.7502, allocations: 150.6 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.7503, allocations: 447 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.191e-05/0.7504, allocations: 171.9 kB / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/0.7504, allocations: 80.14 kB / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.7504, allocations: 82.59 kB / 1.276 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.7504, allocations: 119 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.7504, allocations: 0 / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.082e-05/0.7505, allocations: 30.64 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.7505, allocations: 131.4 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.7505, allocations: 93.58 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-06/0.7505, allocations: 25.7 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.7505, allocations: 86.53 kB / 1.277 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-07/0.7505, allocations: 0 / 1.277 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.7506, allocations: 10.5 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.09e-05/0.7506, allocations: 317.1 kB / 1.277 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-06/0.7506, allocations: 4.125 kB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.7506, allocations: 1.094 kB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-06/0.7506, allocations: 75.28 kB / 1.277 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.7506, allocations: 75.28 kB / 1.277 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.188e-05/0.7507, allocations: 37.19 kB / 1.277 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7507, allocations: 80.22 kB / 1.277 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-05/0.7507, allocations: 76.84 kB / 1.278 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.911e-05/0.7508, allocations: 156.2 kB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.854e-05/0.7508, allocations: 84.61 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.17e-05/0.7509, allocations: 152.3 kB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.751, allocations: 84.88 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.751, allocations: 78.7 kB / 1.278 GB, free: 17.64 MB / 1.014 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.0001069/0.7511, allocations: 258 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.7512, allocations: 110.2 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.7512, allocations: 109.2 kB / 1.279 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/0.7513, allocations: 182.1 kB / 1.279 GB, free: 16.97 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.579e-05/0.7513, allocations: 187.8 kB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/0.7514, allocations: 177.8 kB / 1.279 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.7516, allocations: 402 kB / 1.279 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/0.7517, allocations: 113.7 kB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.7517, allocations: 105.8 kB / 1.28 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.7518, allocations: 183.9 kB / 1.28 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.7518, allocations: 177.7 kB / 1.28 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.828e-05/0.7519, allocations: 177.2 kB / 1.28 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.268e-05/0.752, allocations: 185.3 kB / 1.28 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.7521, allocations: 310.5 kB / 1.281 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.7522, allocations: 183 kB / 1.281 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.7523, allocations: 181.7 kB / 1.281 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.7523, allocations: 102.9 kB / 1.281 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.7524, allocations: 182.7 kB / 1.281 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.7525, allocations: 113 kB / 1.281 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.7525, allocations: 77.56 kB / 1.281 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.7525, allocations: 3.938 kB / 1.281 GB, free: 14.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002773/0.7528, allocations: 37.92 kB / 1.281 GB, free: 14 MB / 1.014 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.0007494/0.7535, allocations: 0.9516 MB / 1.282 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 2.9e-05/0.7535, allocations: 9.656 kB / 1.282 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7535, allocations: 0 / 1.282 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.7536, allocations: 0 / 1.282 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.7539, allocations: 462.3 kB / 1.283 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.755, allocations: 1.557 MB / 1.284 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.7552, allocations: 0.6705 MB / 1.285 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.584e-06/0.7552, allocations: 3.344 kB / 1.285 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.7552, allocations: 8.375 kB / 1.285 GB, free: 10.38 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7552, allocations: 0 / 1.285 GB, free: 10.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.781, allocations: 1.866 MB / 1.287 GB, free: 9.898 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.783, allocations: 5.656 kB / 1.287 GB, free: 9.895 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.076191324999854]