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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001013/0.001014, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 177.4 kB / 16.92 MB, free: 6.23 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.027 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003764, allocations: 10.34 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3399, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00147/0.3414, allocations: 0.9706 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3432, allocations: 0.992 MB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.3432, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.3432, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.3437, allocations: 79.81 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.061e-06/0.3437, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.3438, allocations: 3.938 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3438, allocations: 7.984 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.3438, allocations: 3.938 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.344, allocations: 8 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.344, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.3442, allocations: 111.8 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-06/0.3443, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.3443, allocations: 25.7 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3445, allocations: 75.86 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3445, allocations: 0 / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3445, allocations: 0 / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3445, allocations: 0 / 1.062 GB, free: 2.656 MB / 0.8106 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.000362/0.3449, allocations: 343.5 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3449, allocations: 19.97 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.345, allocations: 80.22 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3452, allocations: 243.6 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.3452, allocations: 154.9 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.3453, allocations: 150.9 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.3454, allocations: 109.1 kB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.3454, allocations: 79.28 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.3454, allocations: 150.6 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.3455, allocations: 150.6 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.3456, allocations: 154.6 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.3458, allocations: 449.9 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.3459, allocations: 173.1 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.346, allocations: 84.08 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.346, allocations: 75.28 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.3461, allocations: 109.8 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3461, allocations: 4 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.782e-05/0.3462, allocations: 29.64 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3462, allocations: 130.7 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3463, allocations: 93.84 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3464, allocations: 29.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.3464, allocations: 84.14 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3464, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.3464, allocations: 13.66 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3466, allocations: 315 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.3466, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-06/0.3466, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.3466, allocations: 75.28 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/0.3466, allocations: 75.28 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.311e-05/0.3467, allocations: 37.58 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.3467, allocations: 80.84 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.3468, allocations: 75.28 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-05/0.3468, allocations: 162.5 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.42e-05/0.3469, allocations: 83.22 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.887e-05/0.3469, allocations: 150.6 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.347, allocations: 79.22 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.347, allocations: 79.28 kB / 1.065 GB, free: 14.38 MB / 0.8262 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.0001098/0.3471, allocations: 264.7 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.3472, allocations: 104.9 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.3473, allocations: 124 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/0.3473, allocations: 176.3 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.3474, allocations: 180.2 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/0.3474, allocations: 176.3 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.3477, allocations: 409.2 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/0.3477, allocations: 104.9 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.3478, allocations: 104.9 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/0.3478, allocations: 180.2 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.3479, allocations: 184.2 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.459e-05/0.348, allocations: 180.3 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.2e-05/0.348, allocations: 184.1 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3482, allocations: 303.8 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.3483, allocations: 186 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.3483, allocations: 180.3 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.3484, allocations: 116.9 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.3485, allocations: 180.3 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3485, allocations: 108.9 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.3486, allocations: 79.28 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3486, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003163/0.3489, allocations: 39.98 kB / 1.069 GB, free: 10.67 MB / 0.8262 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.0005631/0.3495, allocations: 325.2 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.689e-05/0.3495, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3495, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.3495, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3499, allocations: 0.5316 MB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.3502, allocations: 191.5 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3504, allocations: 0.6731 MB / 1.071 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.3505, allocations: 7.438 kB / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3505, allocations: 0 / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.002918/0.3534, allocations: 1.145 MB / 1.072 GB, free: 7.777 MB / 0.8262 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