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.004594/0.004594, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001081/0.001081, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.251/2.251, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7875, allocations: 151.6 MB / 1.166 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00207/0.7896, allocations: 1.241 MB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.791, allocations: 1.006 MB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.7911, allocations: 3.938 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.7911, allocations: 0 / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.7915, allocations: 111.5 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.7915, allocations: 0 / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.7916, allocations: 7.938 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.7916, allocations: 3.984 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.597e-05/0.7916, allocations: 4 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.7917, allocations: 8 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.7918, allocations: 0 / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.792, allocations: 123.8 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-06/0.792, allocations: 0 / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.792, allocations: 0 / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.7922, allocations: 107.8 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7923, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7923, allocations: 3.938 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7923, allocations: 0 / 1.169 GB, free: 1.301 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.000361/0.7926, allocations: 353.9 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7927, allocations: 12.92 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.7927, allocations: 106 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.7928, allocations: 76.22 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.793, allocations: 243.6 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.793, allocations: 158.9 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.7931, allocations: 150.9 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.996e-05/0.7932, allocations: 108.9 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.7932, allocations: 75.28 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.7933, allocations: 150.6 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.7933, allocations: 154.5 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.7934, allocations: 150.6 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.7937, allocations: 453.9 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.7938, allocations: 165.1 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.7938, allocations: 80.14 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.7939, allocations: 83.16 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.7939, allocations: 109.8 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7939, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.11e-05/0.794, allocations: 33.61 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.7941, allocations: 130.7 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.7942, allocations: 97.84 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.7942, allocations: 25.7 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.7942, allocations: 80.14 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.7942, allocations: 4.125 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.7943, allocations: 13.66 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7944, allocations: 310.8 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.7944, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.7944, allocations: 3.938 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.7944, allocations: 79.28 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/0.7945, allocations: 75.28 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.692e-05/0.7945, allocations: 29.64 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.7946, allocations: 87.28 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.7946, allocations: 83.2 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.428e-05/0.7947, allocations: 158.5 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-05/0.7947, allocations: 79.28 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/0.7948, allocations: 154.5 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.7948, allocations: 75.28 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.7949, allocations: 79.28 kB / 1.173 GB, free: 12.91 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.0001261/0.795, allocations: 264.4 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.7951, allocations: 113 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.7951, allocations: 108.1 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/0.7952, allocations: 180.2 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-05/0.7953, allocations: 184.3 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-05/0.7953, allocations: 180.3 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.7956, allocations: 401.2 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.7956, allocations: 108.9 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.7957, allocations: 108.9 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.704e-05/0.7957, allocations: 180.2 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.7958, allocations: 184.3 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.538e-05/0.7959, allocations: 184.2 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.36e-05/0.796, allocations: 180.3 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.7961, allocations: 307.8 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.7962, allocations: 190 kB / 1.175 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.7963, allocations: 176.3 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.7963, allocations: 105 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.7964, allocations: 180.2 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.7964, allocations: 105 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.7965, allocations: 83.28 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7965, allocations: 4.094 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003093/0.7968, allocations: 35.98 kB / 1.176 GB, free: 9.195 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.0007421/0.7976, allocations: 0.9473 MB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 3.721e-05/0.7976, allocations: 4 kB / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7976, allocations: 4 kB / 1.177 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.7976, allocations: 4 kB / 1.177 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.798, allocations: 461.4 kB / 1.178 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.7991, allocations: 1.552 MB / 1.179 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.7993, allocations: 0.6807 MB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.417e-06/0.7993, allocations: 7.984 kB / 1.18 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.7994, allocations: 7.438 kB / 1.18 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7994, allocations: 0 / 1.18 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.8194, allocations: 1.889 MB / 1.182 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/8.104, allocations: 7.891 kB / 1.182 GB, free: 3.703 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=50 --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