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.006461/0.006461, allocations: 99.16 kB / 15.73 MB, free: 6.039 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.001346/0.001346, allocations: 197.6 kB / 16.67 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.66 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3648, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00464/0.3695, allocations: 1.235 MB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3718, allocations: 1.009 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.3719, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.372, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.3725, allocations: 115.5 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.29e-06/0.3726, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.3726, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.3727, allocations: 3.984 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.3727, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3729, allocations: 7.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3729, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.3732, allocations: 127.8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.3732, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.3733, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3735, allocations: 103.9 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3735, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3735, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3736, allocations: 3.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 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.0004851/0.374, allocations: 351.5 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.3741, allocations: 12.03 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.3742, allocations: 80.22 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3745, allocations: 243.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.3745, allocations: 150.9 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.3746, allocations: 154.9 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3747, allocations: 105.1 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/0.3748, allocations: 79.28 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.3749, allocations: 150.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.509e-05/0.375, allocations: 150.6 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3751, allocations: 154.6 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3756, allocations: 445.9 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3758, allocations: 173.1 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.3759, allocations: 80.14 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.3759, allocations: 83.27 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.81e-05/0.376, allocations: 113.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.376, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.3761, allocations: 29.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3763, allocations: 130.6 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3764, allocations: 93.86 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3765, allocations: 25.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.3765, allocations: 88.12 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3765, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3766, allocations: 13.72 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3767, allocations: 315 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.3768, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.3768, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.3768, allocations: 75.33 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.094e-05/0.3769, allocations: 79.28 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.914e-05/0.377, allocations: 33.64 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.377, allocations: 79.28 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-05/0.3771, allocations: 79.22 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.3772, allocations: 162.5 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.3772, allocations: 79.34 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.182e-05/0.3773, allocations: 158.6 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.3774, allocations: 75.28 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.3775, allocations: 79.22 kB / 1.094 GB, free: 10.62 MB / 0.8575 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.0001854/0.3777, allocations: 264.4 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.3778, allocations: 108.9 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.3779, allocations: 116 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-05/0.378, allocations: 180.3 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/0.3781, allocations: 180.2 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/0.3782, allocations: 180.2 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.3786, allocations: 405.2 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.98e-05/0.3786, allocations: 108.9 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.3787, allocations: 104.9 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.329e-05/0.3788, allocations: 180.2 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/0.3789, allocations: 188.2 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-05/0.379, allocations: 180.3 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.833e-05/0.3791, allocations: 180.2 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.3792, allocations: 303.8 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.3793, allocations: 189.9 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.3794, allocations: 180.3 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.3795, allocations: 108.9 kB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3796, allocations: 180.3 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.3797, allocations: 104.9 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.3797, allocations: 83.27 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.615e-06/0.3797, allocations: 0 / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004228/0.3802, allocations: 39.94 kB / 1.098 GB, free: 6.902 MB / 0.8575 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.000674/0.3809, allocations: 321.1 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.181e-05/0.3809, allocations: 4 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3809, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3809, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3813, allocations: 453.9 kB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.3816, allocations: 172.8 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3819, allocations: 0.669 MB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.3819, allocations: 3.984 kB / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3819, allocations: 15.38 kB / 1.099 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3819, allocations: 0 / 1.099 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of Templates: time 0.003279/0.3852, allocations: 0.9768 MB / 1.1 GB, free: 4.289 MB / 0.8575 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/jenkins/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