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.001041/0.001041, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001191/0.001191, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002453/0.3529, allocations: 1.24 MB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3545, allocations: 1.006 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.3545, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.3545, allocations: 3.984 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.355, allocations: 115.5 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.355, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.3551, allocations: 4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3551, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.3551, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3552, allocations: 7.938 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.3552, allocations: 3.938 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.3555, allocations: 131.8 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.3555, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.3555, allocations: 3.828 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3557, allocations: 107.9 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3557, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3557, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3557, allocations: 0 / 1.029 GB, free: 15.42 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.0003266/0.3561, allocations: 343.5 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3561, allocations: 12.03 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3562, allocations: 76.22 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3563, allocations: 243.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.3564, allocations: 154.9 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.3565, allocations: 154.9 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.3565, allocations: 109.1 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3566, allocations: 75.28 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.3567, allocations: 154.6 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.3568, allocations: 150.6 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.3568, allocations: 154.6 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3572, allocations: 441.9 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3573, allocations: 181.1 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.3574, allocations: 80.14 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3574, allocations: 79.28 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.3575, allocations: 109.8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3575, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.338e-05/0.3576, allocations: 33.64 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.3577, allocations: 126.7 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3578, allocations: 97.84 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3578, allocations: 33.77 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.3579, allocations: 84.14 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3579, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.3579, allocations: 9.719 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.358, allocations: 310.8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.358, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/0.358, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.358, allocations: 79.28 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/0.3581, allocations: 79.28 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001193/0.3582, allocations: 29.64 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.3582, allocations: 83.28 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.3583, allocations: 87.2 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.3584, allocations: 150.6 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.53e-05/0.3584, allocations: 83.16 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.3585, allocations: 150.7 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.3586, allocations: 87.3 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3587, allocations: 79.22 kB / 1.033 GB, free: 11.14 MB / 0.8106 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.0001036/0.3588, allocations: 260.3 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3588, allocations: 116.9 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.3589, allocations: 108 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.3589, allocations: 180.3 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.37e-05/0.359, allocations: 180.2 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-05/0.3591, allocations: 184.2 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3593, allocations: 405.2 kB / 1.035 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/0.3593, allocations: 104.9 kB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.3594, allocations: 108.9 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.885e-05/0.3595, allocations: 188.2 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.3595, allocations: 176.3 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.554e-05/0.3596, allocations: 176.3 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/0.3597, allocations: 188.2 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3598, allocations: 303.8 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.3599, allocations: 190 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.36, allocations: 180.3 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.3601, allocations: 104.9 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3602, allocations: 180.3 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.3603, allocations: 112.9 kB / 1.036 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.3603, allocations: 79.22 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3604, allocations: 0 / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003139/0.3607, allocations: 39.98 kB / 1.037 GB, free: 7.426 MB / 0.8106 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.0004944/0.3612, allocations: 316 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.074e-05/0.3612, allocations: 0 / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3612, allocations: 0 / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3612, allocations: 7.938 kB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3616, allocations: 459.7 kB / 1.037 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.3619, allocations: 164.7 kB / 1.038 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3621, allocations: 0.6768 MB / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.395e-06/0.3622, allocations: 0 / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.3622, allocations: 11.44 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of SimCode: time 2.314e-06/0.3622, allocations: 0 / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of Templates: time 0.003179/0.3654, allocations: 0.9935 MB / 1.039 GB, free: 4.805 MB / 0.8106 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 -s cvode -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