Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001656, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001459/0.001459, allocations: 190.2 kB / 16.25 MB, free: 6.641 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 71.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7446, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002538/0.7472, allocations: 1.292 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.7483, allocations: 0.7034 MB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.7483, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.7484, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.7487, allocations: 19.92 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.938e-05/0.7488, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.7488, allocations: 11.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.7489, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.7489, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.7491, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.7491, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.7492, allocations: 11.92 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.7492, allocations: 8 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.7493, allocations: 7.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.107e-05/0.7494, allocations: 11.98 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.7494, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7494, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7494, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 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.0004592/0.7499, allocations: 319.5 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7499, allocations: 8.031 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.75, allocations: 80.22 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.7503, allocations: 243.7 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.7504, allocations: 154.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.7505, allocations: 150.9 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.7506, allocations: 113.5 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.7507, allocations: 75.47 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.7508, allocations: 158.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.836e-05/0.7508, allocations: 150.6 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.7509, allocations: 150.6 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.7513, allocations: 445.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.7515, allocations: 177.1 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.7515, allocations: 80.14 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.7516, allocations: 79.27 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.979e-05/0.7517, allocations: 113.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7517, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.468e-05/0.7518, allocations: 33.64 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.7519, allocations: 130.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.752, allocations: 97.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.7521, allocations: 25.7 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.7521, allocations: 84.14 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.7521, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.7522, allocations: 9.719 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7523, allocations: 318.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-06/0.7524, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.7524, allocations: 4.125 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.7524, allocations: 75.28 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.814e-05/0.7525, allocations: 75.28 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.324e-05/0.7525, allocations: 29.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.7526, allocations: 83.22 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/0.7527, allocations: 87.16 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.259e-05/0.7528, allocations: 150.6 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.7528, allocations: 91.3 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.732e-05/0.7529, allocations: 158.5 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.7531, allocations: 79.28 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.7531, allocations: 79.22 kB / 1.023 GB, free: 12.34 MB / 0.7794 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.0001677/0.7533, allocations: 258.4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.7534, allocations: 105 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.7535, allocations: 124 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.229e-05/0.7536, allocations: 180.3 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.264e-05/0.7537, allocations: 176.5 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/0.7538, allocations: 184.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.7541, allocations: 405.2 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/0.7541, allocations: 108.9 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.7542, allocations: 105 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.7543, allocations: 176.3 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7544, allocations: 184.1 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001012/0.7545, allocations: 180.2 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001042/0.7547, allocations: 184.2 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.7548, allocations: 303.8 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.7549, allocations: 186 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.7551, allocations: 180.2 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.7552, allocations: 108.9 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.7553, allocations: 184.3 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.7553, allocations: 105 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.7554, allocations: 83.27 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.184e-06/0.7554, allocations: 3.938 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002801/0.7557, allocations: 3.938 kB / 1.026 GB, free: 8.66 MB / 0.7794 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.0003755/0.756, allocations: 191.1 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.735e-05/0.7561, allocations: 0 / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7561, allocations: 0 / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.7561, allocations: 0 / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.7565, allocations: 462.5 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.7569, allocations: 168.8 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.7573, allocations: 0.6729 MB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.7573, allocations: 3.938 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.7574, allocations: 7.438 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7574, allocations: 3.938 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of Templates: time 0.003159/0.7605, allocations: 326.2 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches