Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001515/0.001515, allocations: 115.6 kB / 16.37 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.001594/0.001594, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 65.08 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.287, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002325/0.2893, allocations: 1.247 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2908, allocations: 1.01 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.2909, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2909, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.2913, allocations: 107.6 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.2914, allocations: 0 / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.2914, allocations: 7.938 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2915, allocations: 3.984 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.2915, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2916, allocations: 4 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.2916, allocations: 0 / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.2918, allocations: 131.8 kB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.2919, allocations: 7.938 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.2919, allocations: 3.984 kB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2921, allocations: 99.89 kB / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2921, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2921, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2921, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7325 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.000302/0.2924, allocations: 359.4 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2924, allocations: 11.97 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.2925, allocations: 76.22 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2927, allocations: 239.7 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.2927, allocations: 154.9 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.2927, allocations: 150.9 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.828e-05/0.2928, allocations: 105.1 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2928, allocations: 75.28 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.2929, allocations: 158.5 kB / 0.955 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.2929, allocations: 150.6 kB / 0.9551 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.293, allocations: 158.5 kB / 0.9552 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.2932, allocations: 442 kB / 0.9557 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.2933, allocations: 173.2 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.2934, allocations: 84.14 kB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2934, allocations: 75.28 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.2935, allocations: 109.8 kB / 0.9561 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.2935, allocations: 0 / 0.9561 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.377e-05/0.2935, allocations: 37.62 kB / 0.9561 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2936, allocations: 126.7 kB / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.2937, allocations: 97.86 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.2937, allocations: 29.64 kB / 0.9564 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.2937, allocations: 84.14 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2937, allocations: 0 / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.2938, allocations: 9.719 kB / 0.9565 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.2939, allocations: 310.8 kB / 0.9568 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.2939, allocations: 4 kB / 0.9568 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-06/0.2939, allocations: 4.125 kB / 0.9568 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.2939, allocations: 75.28 kB / 0.9568 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.2939, allocations: 75.28 kB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.348e-05/0.294, allocations: 37.56 kB / 0.9569 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.294, allocations: 83.28 kB / 0.957 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.2941, allocations: 75.28 kB / 0.9571 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.168e-05/0.2941, allocations: 154.5 kB / 0.9572 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-05/0.2942, allocations: 83.28 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-05/0.2942, allocations: 158.6 kB / 0.9575 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2943, allocations: 83.23 kB / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2943, allocations: 79.27 kB / 0.9576 GB, free: 1.184 MB / 0.7325 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.0001003/0.2944, allocations: 263.9 kB / 0.9579 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.2945, allocations: 108.9 kB / 0.958 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.2945, allocations: 112.1 kB / 0.9581 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.285e-05/0.2946, allocations: 176.3 kB / 0.9583 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-05/0.2946, allocations: 188.2 kB / 0.9584 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/0.2947, allocations: 176.3 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2949, allocations: 409.2 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/0.295, allocations: 113 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.295, allocations: 104.9 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.2951, allocations: 180.2 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.2951, allocations: 176.3 kB / 0.9595 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.137e-05/0.2952, allocations: 184.2 kB / 0.9597 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.429e-05/0.2952, allocations: 176.3 kB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.2954, allocations: 311.8 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.2954, allocations: 182 kB / 0.9604 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.2955, allocations: 180.2 kB / 0.9605 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.2956, allocations: 113 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2957, allocations: 184.2 kB / 0.9608 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2957, allocations: 101 kB / 0.9609 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.2958, allocations: 83.22 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2958, allocations: 0 / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003175/0.2961, allocations: 39.98 kB / 0.961 GB, free: 13.48 MB / 0.7481 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.0004833/0.2966, allocations: 315 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.41e-05/0.2966, allocations: 4 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2966, allocations: 4 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.2967, allocations: 3.938 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.297, allocations: 455.6 kB / 0.9618 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.2972, allocations: 172.8 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2975, allocations: 0.6766 MB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.2975, allocations: 0 / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.2975, allocations: 7.438 kB / 0.9626 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of SimCode: time 1.713e-06/0.2975, allocations: 0 / 0.9626 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.003127/0.3007, allocations: 0.986 MB / 0.9636 GB, free: 10.86 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches