Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008275/0.0008275, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009419/0.0009419, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9204/0.9204, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.759/1.759, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.022e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001816/0.001837, allocations: 1.259 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002855, allocations: 1.099 MB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.002877, allocations: 3.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.002894, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.003305, allocations: 111.5 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.546e-06/0.003308, allocations: 3.938 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.705e-05/0.003345, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.003386, allocations: 4 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.003413, allocations: 7.969 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.003454, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.003461, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.003633, allocations: 107.7 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.003639, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.186e-05/0.003651, allocations: 4 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.003811, allocations: 119.7 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003813, allocations: 4 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003814, allocations: 7.938 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003818, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 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.0002328/0.00405, allocations: 262.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.004087, allocations: 12.75 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.004127, allocations: 110 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.004166, allocations: 76.22 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.004266, allocations: 185.1 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.004301, allocations: 150.9 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.004332, allocations: 150.9 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.613e-05/0.004378, allocations: 105.5 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.004398, allocations: 83.47 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.004431, allocations: 154.5 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.004508, allocations: 150.6 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.004552, allocations: 158.4 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.004764, allocations: 421 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.00483, allocations: 165.1 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.004855, allocations: 84.14 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.004874, allocations: 75.28 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.004908, allocations: 113.8 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.004909, allocations: 0 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.986e-05/0.004979, allocations: 41.59 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.005025, allocations: 126.7 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.00511, allocations: 97.84 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.005118, allocations: 25.7 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.005139, allocations: 80.14 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.005141, allocations: 0 / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.005158, allocations: 13.66 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.005234, allocations: 318.8 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.005239, allocations: 0 / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.005243, allocations: 0 / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.843e-05/0.005261, allocations: 79.41 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.005279, allocations: 83.22 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.288e-05/0.005312, allocations: 29.7 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.005344, allocations: 83.27 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.005362, allocations: 79.22 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.005405, allocations: 158.5 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.005422, allocations: 79.33 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.399e-05/0.005456, allocations: 158.5 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.005507, allocations: 79.28 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.005526, allocations: 75.28 kB / 1.006 GB, free: 6.562 MB / 0.9636 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 7.525e-05/0.005601, allocations: 260.4 kB / 1.006 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.005636, allocations: 112.9 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.00567, allocations: 108.1 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/0.005713, allocations: 184.2 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/0.005753, allocations: 180.3 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-05/0.005794, allocations: 180.2 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.005931, allocations: 376.2 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/0.005954, allocations: 101 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.005979, allocations: 108.9 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/0.006017, allocations: 188.2 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.006057, allocations: 180.2 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.76e-05/0.006095, allocations: 184.2 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-05/0.006132, allocations: 180.3 kB / 1.008 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.122e-05/0.006223, allocations: 311.8 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.006246, allocations: 101 kB / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.006299, allocations: 188.1 kB / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.006349, allocations: 101 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.006391, allocations: 180.2 kB / 1.009 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.006413, allocations: 109 kB / 1.009 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.006444, allocations: 79.28 kB / 1.009 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006444, allocations: 0 / 1.009 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002363/0.00668, allocations: 43.89 kB / 1.01 GB, free: 2.977 MB / 0.9636 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.0005783/0.007259, allocations: 0.9622 MB / 1.01 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.918e-05/0.007298, allocations: 7.938 kB / 1.01 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.0073, allocations: 0 / 1.01 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.007301, allocations: 3.938 kB / 1.01 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.007537, allocations: 463.7 kB / 1.011 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.00839, allocations: 1.556 MB / 1.012 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.008426, allocations: 59.34 kB / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.008436, allocations: 0 / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.008458, allocations: 8.5 kB / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of SimCode: time 3.81e-07/0.008459, allocations: 0 / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.02609, allocations: 2.534 MB / 1.015 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/6.547, allocations: 5.828 kB / 1.015 GB, free: 13.45 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.675623327493668]