Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001709/0.001709, allocations: 108.8 kB / 16.46 MB, free: 6.504 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.001787/0.001787, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8852, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002625/0.8878, allocations: 1.236 MB / 1.214 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.8895, allocations: 1.027 MB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.8896, allocations: 0 / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.8896, allocations: 3.938 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.8901, allocations: 112.1 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.8901, allocations: 0 / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.8902, allocations: 1 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.8902, allocations: 1.906 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.8902, allocations: 4.688 kB / 1.215 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.8904, allocations: 6.25 kB / 1.215 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.8904, allocations: 0.75 kB / 1.215 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.8906, allocations: 130 kB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-06/0.8906, allocations: 4.844 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.8907, allocations: 1.094 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.8909, allocations: 103.6 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8909, allocations: 0.7812 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8909, allocations: 0 / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.8909, allocations: 0 / 1.215 GB, free: 1.879 MB / 0.92 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.0004681/0.8914, allocations: 358.1 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.8914, allocations: 10.03 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.8915, allocations: 110 kB / 1.216 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.8916, allocations: 77.34 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.8918, allocations: 240.8 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.8919, allocations: 154.9 kB / 1.216 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.892, allocations: 152 kB / 1.217 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.8921, allocations: 106 kB / 1.217 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/0.8921, allocations: 79.28 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.8922, allocations: 154.5 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/0.8923, allocations: 151.8 kB / 1.217 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.8924, allocations: 150.6 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.8927, allocations: 448 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.8928, allocations: 170.2 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.8929, allocations: 80.14 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.893, allocations: 79.22 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.893, allocations: 107 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.893, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.519e-05/0.8931, allocations: 39.94 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.8932, allocations: 130.7 kB / 1.218 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.8933, allocations: 92.95 kB / 1.218 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.8933, allocations: 25.7 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.8934, allocations: 81.27 kB / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.8934, allocations: 0 / 1.218 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.8934, allocations: 10.72 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8936, allocations: 315.7 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.8936, allocations: 0.75 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.8936, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.8936, allocations: 80.03 kB / 1.219 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-05/0.8937, allocations: 79.27 kB / 1.219 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.512e-05/0.8937, allocations: 36.55 kB / 1.219 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.8938, allocations: 83 kB / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.8938, allocations: 80.38 kB / 1.219 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.188e-05/0.8939, allocations: 158.6 kB / 1.219 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.894, allocations: 80.16 kB / 1.219 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.521e-05/0.8941, allocations: 156 kB / 1.219 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.8942, allocations: 80.16 kB / 1.219 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.8942, allocations: 80.33 kB / 1.22 GB, free: 13.54 MB / 0.9356 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.0001682/0.8944, allocations: 265.5 kB / 1.22 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.8944, allocations: 110.2 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.8945, allocations: 109.2 kB / 1.22 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.653e-05/0.8946, allocations: 181.5 kB / 1.22 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/0.8947, allocations: 185.5 kB / 1.22 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.293e-05/0.8948, allocations: 181.6 kB / 1.221 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.8951, allocations: 402.3 kB / 1.221 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.163e-05/0.8952, allocations: 109.6 kB / 1.221 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.8952, allocations: 101.7 kB / 1.221 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.8953, allocations: 181.1 kB / 1.221 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.763e-05/0.8954, allocations: 181.4 kB / 1.221 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.758e-05/0.8955, allocations: 185.3 kB / 1.222 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.182e-05/0.8956, allocations: 181.4 kB / 1.222 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.8958, allocations: 308.1 kB / 1.222 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8959, allocations: 182 kB / 1.222 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.896, allocations: 182 kB / 1.222 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.8961, allocations: 110.1 kB / 1.223 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.8962, allocations: 177.4 kB / 1.223 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.8963, allocations: 106 kB / 1.223 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.8963, allocations: 81.59 kB / 1.223 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8963, allocations: 0 / 1.223 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003513/0.8967, allocations: 39.33 kB / 1.223 GB, free: 9.875 MB / 0.9356 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.001035/0.8977, allocations: 0.9571 MB / 1.224 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.174e-05/0.8977, allocations: 3.938 kB / 1.224 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8977, allocations: 5.25 kB / 1.224 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.8977, allocations: 0 / 1.224 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.8982, allocations: 463.4 kB / 1.224 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.8997, allocations: 1.56 MB / 1.226 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.9, allocations: 0.6739 MB / 1.226 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.193e-05/0.9, allocations: 1.25 kB / 1.226 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.9001, allocations: 8.781 kB / 1.227 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9001, allocations: 4.031 kB / 1.227 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.9289, allocations: 1.899 MB / 1.228 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.81, allocations: 11.95 kB / 1.228 GB, free: 5.184 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.54875189717859]