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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 183.9 kB / 0.4902 GB, free: 2.285 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.000843, allocations: 98.59 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 11.47 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2441, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.4216, allocations: 150.9 MB / 1.377 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4218, allocations: 79.95 kB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00686/0.4287, allocations: 2.692 MB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4288, allocations: 0 / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4288, allocations: 0 / 1.379 GB, free: 15.81 MB / 0.8855 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.0003008/0.4291, allocations: 355.3 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4291, allocations: 8.562 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.4292, allocations: 75.28 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4294, allocations: 250.2 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.4294, allocations: 158.5 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.4295, allocations: 150.6 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.68e-05/0.4295, allocations: 101 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.4296, allocations: 75.28 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.4296, allocations: 154.6 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.4297, allocations: 150.6 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.407e-05/0.4298, allocations: 154.6 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.4301, allocations: 453.8 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.4302, allocations: 169.1 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.4302, allocations: 75.45 kB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.4303, allocations: 109.8 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4303, allocations: 0 / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.276e-05/0.4304, allocations: 37.64 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4305, allocations: 126.7 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.4306, allocations: 89 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4306, allocations: 29.7 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.4306, allocations: 80.14 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.4306, allocations: 4.125 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-06/0.4307, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4308, allocations: 318.8 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.4308, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.4308, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.4308, allocations: 79.23 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.358e-05/0.4309, allocations: 75.28 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.105e-05/0.4309, allocations: 29.7 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.431, allocations: 83.28 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.431, allocations: 83.22 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.243e-05/0.4311, allocations: 150.6 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.4311, allocations: 87.22 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/0.4312, allocations: 154.5 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.4312, allocations: 79.28 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.4313, allocations: 83.2 kB / 1.383 GB, free: 11.64 MB / 0.8855 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.0001034/0.4314, allocations: 264.4 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.4314, allocations: 101 kB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.4315, allocations: 119.8 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/0.4316, allocations: 180.2 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-05/0.4316, allocations: 180.2 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/0.4317, allocations: 180.3 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4319, allocations: 405.2 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.4319, allocations: 108.9 kB / 1.385 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.432, allocations: 105 kB / 1.385 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-05/0.4321, allocations: 188.1 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.4321, allocations: 180.3 kB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-05/0.4322, allocations: 176.6 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.109e-05/0.4322, allocations: 184.2 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4324, allocations: 307.8 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.4325, allocations: 194 kB / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.4326, allocations: 176.3 kB / 1.386 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.4326, allocations: 108.9 kB / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.4327, allocations: 176.3 kB / 1.386 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.4327, allocations: 108.9 kB / 1.386 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.4328, allocations: 75.28 kB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4328, allocations: 4.094 kB / 1.387 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003351/0.4331, allocations: 60.19 kB / 1.387 GB, free: 7.914 MB / 0.8855 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.0004812/0.4336, allocations: 328.3 kB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 3.173e-05/0.4337, allocations: 0 / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4337, allocations: 0 / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4337, allocations: 0 / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.434, allocations: 0.5302 MB / 1.387 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.4342, allocations: 163.9 kB / 1.388 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4344, allocations: 0.6692 MB / 1.388 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.644e-06/0.4345, allocations: 0 / 1.388 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.4345, allocations: 11.44 kB / 1.388 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.4345, allocations: 0 / 1.388 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of Templates: time 0.002711/0.4372, allocations: 0.9651 MB / 1.389 GB, free: 5.234 MB / 0.8855 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","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches