Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105.8 kB / 15.99 MB, free: 6.359 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.001826/0.001826, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.577/1.577, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.36 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003124/0.3921, allocations: 1.29 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.394, allocations: 0.9996 MB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.3941, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.3941, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.3946, allocations: 95.8 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.3946, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.3947, allocations: 3.938 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.3947, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3948, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3949, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.3949, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.3951, allocations: 119.8 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3951, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.3952, allocations: 3.938 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3953, allocations: 67.91 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3953, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3953, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3954, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 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.0004097/0.3958, allocations: 352.9 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3958, allocations: 8.625 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.3959, allocations: 84.22 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3961, allocations: 243.6 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.3962, allocations: 150.9 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.3963, allocations: 154.9 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.3964, allocations: 105.1 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.3964, allocations: 79.28 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.3966, allocations: 154.6 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-05/0.3967, allocations: 154.6 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.3967, allocations: 150.6 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3972, allocations: 438 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3973, allocations: 177.1 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.3973, allocations: 88.12 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.3974, allocations: 75.28 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.143e-05/0.3975, allocations: 109.8 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3975, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.714e-05/0.3976, allocations: 25.7 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.3977, allocations: 134.6 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3978, allocations: 97.86 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3978, allocations: 25.7 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.3979, allocations: 80.14 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.3979, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.3979, allocations: 13.72 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3981, allocations: 315 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-06/0.3981, allocations: 4 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.3981, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.3982, allocations: 79.22 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.176e-05/0.3982, allocations: 75.28 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.371e-05/0.3983, allocations: 33.64 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.3984, allocations: 79.28 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/0.3984, allocations: 79.22 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.21e-05/0.3985, allocations: 162.6 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.3986, allocations: 79.22 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-05/0.3986, allocations: 154.5 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.3987, allocations: 75.28 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.3988, allocations: 87.27 kB / 1.071 GB, free: 8.227 MB / 0.8419 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.0001527/0.3989, allocations: 260.7 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.399, allocations: 108.9 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.3991, allocations: 116 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.352e-05/0.3992, allocations: 176.3 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/0.3993, allocations: 180.3 kB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.149e-05/0.3994, allocations: 180.2 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3998, allocations: 409.2 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/0.3998, allocations: 104.9 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.3999, allocations: 108.9 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.4, allocations: 180.2 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4001, allocations: 180.3 kB / 1.073 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000176/0.4003, allocations: 180.2 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.854e-05/0.4004, allocations: 188.2 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4007, allocations: 307.7 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.4009, allocations: 186 kB / 1.073 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.4012, allocations: 188.3 kB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4013, allocations: 108.9 kB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.4015, allocations: 176.7 kB / 1.074 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.4016, allocations: 104.9 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.4017, allocations: 79.28 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4017, allocations: 0 / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004055/0.4021, allocations: 43.92 kB / 1.074 GB, free: 4.512 MB / 0.8419 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.0007646/0.4028, allocations: 328 kB / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.4029, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4029, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.4029, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4034, allocations: 463.7 kB / 1.075 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.4037, allocations: 186.5 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4041, allocations: 0.669 MB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.4041, allocations: 7.438 kB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.4041, allocations: 0 / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.003281/0.4074, allocations: 1.163 MB / 1.077 GB, free: 1.684 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches