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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 192 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.306/2.306, allocations: 461.9 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.61 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2217, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001903/0.2236, allocations: 1.317 MB / 1.053 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2248, allocations: 0.9998 MB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.868e-06/0.2248, allocations: 0 / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.2248, allocations: 0 / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.2251, allocations: 83.73 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 1.964e-06/0.2252, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.241e-05/0.2252, allocations: 4 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.827e-05/0.2252, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.2252, allocations: 3.938 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.2253, allocations: 7.984 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.2253, allocations: 3.938 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2255, allocations: 119.8 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-06/0.2255, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.087e-05/0.2255, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2257, allocations: 107.8 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2257, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2257, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.2257, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 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.0002617/0.226, allocations: 347.6 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.226, allocations: 8.031 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.2261, allocations: 110 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.2261, allocations: 84.16 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2262, allocations: 240 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.2263, allocations: 150.9 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.2263, allocations: 154.9 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.459e-05/0.2264, allocations: 112.8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.2264, allocations: 79.28 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2265, allocations: 150.6 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.2265, allocations: 150.6 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.2266, allocations: 154.6 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.2268, allocations: 445.9 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.2269, allocations: 173.1 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.2269, allocations: 80.14 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2269, allocations: 79.22 kB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.227, allocations: 109.8 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.227, allocations: 0 / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.443e-05/0.227, allocations: 25.7 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2271, allocations: 138.6 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.2272, allocations: 97.86 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2272, allocations: 25.7 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.2272, allocations: 80.14 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.2272, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2272, allocations: 13.72 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.2273, allocations: 311 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-06/0.2273, allocations: 4 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-06/0.2273, allocations: 0 / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.2274, allocations: 75.28 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.2274, allocations: 79.28 kB / 1.058 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.888e-05/0.2274, allocations: 37.62 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2275, allocations: 79.28 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.2275, allocations: 79.22 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.155e-05/0.2276, allocations: 158.6 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.2276, allocations: 83.16 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.704e-05/0.2276, allocations: 150.6 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.2277, allocations: 75.28 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.2277, allocations: 83.27 kB / 1.059 GB, free: 1.121 MB / 0.8106 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 9.161e-05/0.2278, allocations: 272.3 kB / 1.059 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.2279, allocations: 112.9 kB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.2279, allocations: 108 kB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/0.228, allocations: 180.3 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.445e-05/0.228, allocations: 176.3 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/0.2281, allocations: 188.2 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2283, allocations: 401.2 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-05/0.2283, allocations: 108.9 kB / 1.06 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.2284, allocations: 105 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.058e-05/0.2284, allocations: 176.3 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/0.2285, allocations: 192.2 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.2285, allocations: 176.3 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.011e-05/0.2286, allocations: 184.2 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2287, allocations: 307.8 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.2287, allocations: 182 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.2288, allocations: 184.3 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.2289, allocations: 112.9 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.2289, allocations: 176.3 kB / 1.062 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.229, allocations: 104.9 kB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3e-05/0.229, allocations: 83.28 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.229, allocations: 0 / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.2293, allocations: 35.98 kB / 1.062 GB, free: 13.41 MB / 0.8262 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.0006115/0.2299, allocations: 0.9507 MB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.218e-05/0.2299, allocations: 3.938 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.23, allocations: 4 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.23, allocations: 3.938 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2303, allocations: 0.5291 MB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.2312, allocations: 1.553 MB / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2314, allocations: 0.6731 MB / 1.066 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.915e-06/0.2314, allocations: 0 / 1.066 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.2314, allocations: 7.438 kB / 1.066 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2314, allocations: 4.031 kB / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.4462, allocations: 1.743 MB / 1.068 GB, free: 8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.4464, allocations: 284.5 kB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.714, allocations: 4 kB / 1.068 GB, free: 7.617 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches