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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004526/0.004526, allocations: 98.75 kB / 15.73 MB, free: 6.004 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.001331/0.001331, allocations: 197.8 kB / 16.67 MB, free: 5.934 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 64.11 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.6212, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002024/0.6232, allocations: 1.247 MB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.6245, allocations: 1.014 MB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.6246, allocations: 0 / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.6246, allocations: 0 / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.625, allocations: 115.5 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.786e-06/0.625, allocations: 3.938 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 2.907e-05/0.625, allocations: 0 / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.625, allocations: 4 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.111e-05/0.6251, allocations: 0 / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.6251, allocations: 11.92 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-06/0.6252, allocations: 0 / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.6254, allocations: 123.8 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-06/0.6254, allocations: 4 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-06/0.6254, allocations: 0 / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.6256, allocations: 106.4 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6256, allocations: 8 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6256, allocations: 0 / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6256, allocations: 0 / 1.169 GB, free: 1.105 MB / 0.8887 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.0003101/0.6259, allocations: 352.1 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.626, allocations: 12.92 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.626, allocations: 110 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.6261, allocations: 76.22 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6262, allocations: 235.7 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.6263, allocations: 154.9 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.6264, allocations: 154.9 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.6264, allocations: 108.9 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6265, allocations: 75.28 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.6265, allocations: 150.6 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.6266, allocations: 158.6 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.6267, allocations: 158.5 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.6269, allocations: 442 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.627, allocations: 169.1 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.6271, allocations: 88.14 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6271, allocations: 79.22 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.6272, allocations: 105.8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.6272, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.6272, allocations: 33.69 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.6273, allocations: 126.7 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.6274, allocations: 97.86 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6274, allocations: 25.7 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.6275, allocations: 88.08 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.6275, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.6275, allocations: 9.719 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6276, allocations: 310.8 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-06/0.6276, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-06/0.6276, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.6277, allocations: 83.41 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.6277, allocations: 75.28 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.543e-05/0.6277, allocations: 33.62 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.6278, allocations: 83.28 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.6278, allocations: 83.16 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.669e-05/0.6279, allocations: 158.5 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.6279, allocations: 79.28 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.227e-05/0.628, allocations: 162.5 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.6281, allocations: 75.28 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.6281, allocations: 83.2 kB / 1.173 GB, free: 12.71 MB / 0.9044 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.0001152/0.6282, allocations: 256.4 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.6283, allocations: 109.1 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.6284, allocations: 116.1 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-05/0.6284, allocations: 180.2 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/0.6285, allocations: 180.2 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/0.6286, allocations: 184.2 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.6288, allocations: 397.2 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.6289, allocations: 108.9 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.6289, allocations: 113 kB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.471e-05/0.629, allocations: 176.3 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.6291, allocations: 180.2 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-05/0.6291, allocations: 176.3 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.643e-05/0.6292, allocations: 192.2 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.6294, allocations: 307.8 kB / 1.175 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.6294, allocations: 186 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.6295, allocations: 176.3 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.6296, allocations: 112.9 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.6297, allocations: 184.3 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.6297, allocations: 105 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.6298, allocations: 75.28 kB / 1.176 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6298, allocations: 0 / 1.176 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002843/0.6301, allocations: 47.8 kB / 1.176 GB, free: 8.996 MB / 0.9044 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.000786/0.6309, allocations: 0.9487 MB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 2.718e-05/0.6309, allocations: 0 / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.6309, allocations: 0 / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.6309, allocations: 0 / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.6313, allocations: 465.1 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.6323, allocations: 1.559 MB / 1.179 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.6326, allocations: 0.6729 MB / 1.18 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.302e-06/0.6326, allocations: 3.938 kB / 1.18 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.6327, allocations: 11.44 kB / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.6327, allocations: 0 / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8987/1.531, allocations: 1.895 MB / 1.182 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.41, allocations: 5.516 kB / 1.182 GB, free: 3.508 MB / 0.9044 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches