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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001247/0.001248, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001276/0.001276, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.3 MB / 0.665 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.94 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2822, allocations: 140.4 MB / 0.9498 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002626/0.2849, allocations: 1.305 MB / 0.951 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2864, allocations: 0.9978 MB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.2864, allocations: 0 / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.2865, allocations: 0 / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.287, allocations: 87.81 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-06/0.287, allocations: 3.938 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.2871, allocations: 7.922 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.2871, allocations: 4 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.2872, allocations: 0 / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.2873, allocations: 11.98 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.2873, allocations: 0 / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2875, allocations: 111.9 kB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.2875, allocations: 0 / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.2875, allocations: 0 / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2877, allocations: 75.84 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2877, allocations: 0 / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2877, allocations: 0 / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2877, allocations: 0 / 0.9523 GB, free: 6.68 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.0003148/0.288, allocations: 347.5 kB / 0.9526 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2881, allocations: 16.02 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.2882, allocations: 80.22 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2883, allocations: 239.6 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.2884, allocations: 150.9 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.2884, allocations: 150.9 kB / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.272e-05/0.2885, allocations: 109 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2885, allocations: 79.28 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.2886, allocations: 154.6 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.2886, allocations: 150.6 kB / 0.9537 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.2887, allocations: 154.6 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.289, allocations: 445.9 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.289, allocations: 169.1 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.2891, allocations: 88.14 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2891, allocations: 75.28 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.2892, allocations: 109.8 kB / 0.9547 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.2892, allocations: 7.938 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.691e-05/0.2892, allocations: 25.7 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.2893, allocations: 130.6 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.2894, allocations: 97.84 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2894, allocations: 25.7 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.2895, allocations: 84.14 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.2895, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.2895, allocations: 13.72 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.2896, allocations: 315 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.2896, allocations: 0 / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-06/0.2896, allocations: 0 / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.2896, allocations: 75.28 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/0.2897, allocations: 75.28 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.387e-05/0.2897, allocations: 37.62 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.2898, allocations: 81.47 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.2898, allocations: 79.22 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/0.2898, allocations: 158.6 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.409e-05/0.2899, allocations: 83.22 kB / 0.9559 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-05/0.2899, allocations: 150.6 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.29, allocations: 79.28 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.29, allocations: 87.27 kB / 0.9562 GB, free: 2.406 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.000109/0.2902, allocations: 264.7 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.2902, allocations: 104.9 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.2903, allocations: 123.8 kB / 0.9567 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.315e-05/0.2903, allocations: 180.2 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/0.2904, allocations: 176.3 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.296e-05/0.2905, allocations: 184.2 kB / 0.9572 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2907, allocations: 405.2 kB / 0.9576 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/0.2907, allocations: 104.9 kB / 0.9577 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.2907, allocations: 104.9 kB / 0.9578 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.422e-05/0.2908, allocations: 180.2 kB / 0.958 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.2909, allocations: 184.2 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.403e-05/0.2909, allocations: 180.3 kB / 0.9583 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.312e-05/0.291, allocations: 180.2 kB / 0.9585 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.2912, allocations: 307.8 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.2913, allocations: 182 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.2914, allocations: 188.3 kB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.2915, allocations: 108.9 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.2916, allocations: 180.7 kB / 0.9594 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.2916, allocations: 104.9 kB / 0.9595 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.2917, allocations: 79.28 kB / 0.9596 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2917, allocations: 0 / 0.9596 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003507/0.292, allocations: 47.92 kB / 0.9597 GB, free: 14.69 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.0007271/0.2928, allocations: 318.8 kB / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.2928, allocations: 0 / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2929, allocations: 0 / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.2929, allocations: 0 / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.2933, allocations: 457.6 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.2936, allocations: 200.9 kB / 0.9606 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2939, allocations: 0.6766 MB / 0.9612 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.2939, allocations: 7.438 kB / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2939, allocations: 0 / 0.9613 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.00369/0.2976, allocations: 1.165 MB / 0.9624 GB, free: 11.85 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 -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