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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_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_latest_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.001814/0.001814, allocations: 102.2 kB / 16.27 MB, free: 6 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.002029/0.002029, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 66.36 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3179, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003164/0.3211, allocations: 1.225 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3229, allocations: 1.008 MB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.323, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.323, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.3236, allocations: 115.5 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-06/0.3236, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.129e-05/0.3237, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.3237, allocations: 4 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.3238, allocations: 0 / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3239, allocations: 13.81 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.3239, allocations: 3.938 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.3242, allocations: 115.8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.3242, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.3242, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.3245, allocations: 99.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3245, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3245, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3245, allocations: 0 / 1.067 GB, free: 12.42 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.0003392/0.3248, allocations: 343.6 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3249, allocations: 12.03 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.3249, allocations: 76.22 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3251, allocations: 239.7 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.3252, allocations: 154.9 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.3253, allocations: 154.9 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.3253, allocations: 109.1 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3254, allocations: 75.28 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.3254, allocations: 154.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.3255, allocations: 158.6 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.3256, allocations: 154.6 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.3259, allocations: 441.9 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.3259, allocations: 177.1 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.326, allocations: 84.14 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.326, allocations: 79.28 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.3261, allocations: 109.8 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3261, allocations: 3.938 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.042e-05/0.3262, allocations: 29.64 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.3263, allocations: 134.7 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3264, allocations: 93.86 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3264, allocations: 29.83 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.3265, allocations: 84.14 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.3265, allocations: 0 / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.3265, allocations: 9.719 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3267, allocations: 310.8 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.3267, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.3267, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.3267, allocations: 79.28 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/0.3268, allocations: 79.28 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.362e-05/0.3268, allocations: 33.62 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3269, allocations: 83.28 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.3269, allocations: 79.22 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.865e-05/0.327, allocations: 154.6 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.327, allocations: 79.22 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.178e-05/0.3271, allocations: 150.7 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.3272, allocations: 87.3 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.3272, allocations: 79.22 kB / 1.071 GB, free: 8.145 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.0001375/0.3274, allocations: 260.7 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.3275, allocations: 112.9 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3275, allocations: 108 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/0.3276, allocations: 184.2 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-05/0.3277, allocations: 180.2 kB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-05/0.3278, allocations: 184.2 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.328, allocations: 401.2 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.328, allocations: 104.9 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3281, allocations: 108.9 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-05/0.3282, allocations: 188.2 kB / 1.072 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.3282, allocations: 176.3 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.23e-05/0.3283, allocations: 176.3 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-05/0.3284, allocations: 188.2 kB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3285, allocations: 311.6 kB / 1.073 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.3286, allocations: 186 kB / 1.073 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.3287, allocations: 184.2 kB / 1.074 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3288, allocations: 104.9 kB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3288, allocations: 184.2 kB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.3289, allocations: 108.9 kB / 1.074 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.3289, allocations: 79.28 kB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3289, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003744/0.3293, allocations: 43.98 kB / 1.074 GB, free: 4.422 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.0005756/0.3299, allocations: 312.8 kB / 1.074 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.891e-05/0.3299, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.33, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.33, allocations: 4 kB / 1.074 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3304, allocations: 459.7 kB / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.3307, allocations: 196.2 kB / 1.075 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3309, allocations: 0.6729 MB / 1.076 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3309, allocations: 11.38 kB / 1.076 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3309, allocations: 4 kB / 1.076 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.002893/0.3338, allocations: 1.163 MB / 1.077 GB, free: 1.594 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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