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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_10_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_10_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.001218/0.001218, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0015/0.0015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.837/2.837, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8206, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001551/0.8222, allocations: 0.9741 MB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.8238, allocations: 0.9374 MB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.8238, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.8239, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.8244, allocations: 83.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-06/0.8244, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.8244, allocations: 7.938 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.8245, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.8245, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.8246, allocations: 7.938 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.8247, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.8249, allocations: 103.8 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-06/0.8249, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.825, allocations: 25.7 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.8251, allocations: 75.86 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8252, allocations: 7.938 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8252, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.8252, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 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.0003273/0.8255, allocations: 343.3 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.8256, allocations: 12.56 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.8256, allocations: 75.28 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.8258, allocations: 240.5 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.8259, allocations: 158.6 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.826, allocations: 150.6 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.53e-05/0.826, allocations: 104.9 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.8261, allocations: 79.28 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.8261, allocations: 154.6 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/0.8262, allocations: 150.6 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/0.8262, allocations: 158.5 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.8265, allocations: 441.9 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.8266, allocations: 173.1 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.8267, allocations: 80.14 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.8267, allocations: 83.22 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.8268, allocations: 113.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.8268, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.065e-05/0.8268, allocations: 29.75 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.8269, allocations: 130.7 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.827, allocations: 97.84 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8271, allocations: 25.83 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.8271, allocations: 88.12 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.8271, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.8271, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8273, allocations: 310.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/0.8273, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.8273, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.8273, allocations: 75.28 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/0.8273, allocations: 79.22 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.575e-05/0.8274, allocations: 37.77 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.8274, allocations: 79.28 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.8275, allocations: 83.25 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.947e-05/0.8275, allocations: 166.5 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.229e-05/0.8276, allocations: 79.22 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.441e-05/0.8276, allocations: 154.5 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.8277, allocations: 79.28 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.8277, allocations: 79.28 kB / 1.028 GB, free: 9.551 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.8279, allocations: 256.4 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.8279, allocations: 108.9 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.828, allocations: 108.1 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.744e-05/0.8281, allocations: 188.2 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.8281, allocations: 180.3 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/0.8282, allocations: 176.3 kB / 1.029 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.8285, allocations: 409.2 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.8285, allocations: 101 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.8286, allocations: 108.9 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.108e-05/0.8286, allocations: 180.3 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.024e-05/0.8287, allocations: 184.2 kB / 1.03 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-05/0.8288, allocations: 180.2 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.224e-05/0.8289, allocations: 184.2 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.829, allocations: 307.7 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.8291, allocations: 182.1 kB / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.8292, allocations: 188.2 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.8293, allocations: 101 kB / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.8294, allocations: 184.2 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.8294, allocations: 109 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.8295, allocations: 83.28 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8295, allocations: 0 / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003498/0.8298, allocations: 43.98 kB / 1.032 GB, free: 5.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005988/0.8304, allocations: 310.6 kB / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.694e-05/0.8305, allocations: 400 / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8305, allocations: 3.938 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.8305, allocations: 3.938 kB / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.8309, allocations: 0.5248 MB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.8312, allocations: 155.9 kB / 1.033 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.8314, allocations: 0.6731 MB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.059e-05/0.8314, allocations: 0 / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.8314, allocations: 7.438 kB / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8314, allocations: 4 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.003945/0.8354, allocations: 0.974 MB / 1.034 GB, free: 3.172 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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