Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_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_9_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.00915/0.00915, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001986/0.001986, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.521/2.521, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002098, allocations: 64.09 kB / 0.9508 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00258/0.3836, allocations: 1.241 MB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3848, allocations: 0.7235 MB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.3848, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.3849, allocations: 7.922 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.3851, allocations: 11.98 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.396e-05/0.3852, allocations: 11.94 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.3853, allocations: 7.984 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.3853, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.3854, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.3855, allocations: 7.984 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3855, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.3856, allocations: 11.94 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.3856, allocations: 3.984 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3857, allocations: 7.922 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.3857, allocations: 8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3858, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3858, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3858, allocations: 0 / 1.09 GB, free: 15.42 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.0003438/0.3861, allocations: 323.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3862, allocations: 8.031 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3862, allocations: 80.22 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3864, allocations: 235.7 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.3866, allocations: 154.9 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.3866, allocations: 154.9 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.147e-05/0.3867, allocations: 111 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.3867, allocations: 79.41 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/0.3868, allocations: 154.5 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.3869, allocations: 154.5 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.387, allocations: 154.6 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3873, allocations: 446 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.3874, allocations: 165.1 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.3875, allocations: 88.06 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3875, allocations: 75.28 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.3876, allocations: 109.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.3876, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.405e-05/0.3877, allocations: 33.64 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.3877, allocations: 130.6 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3878, allocations: 97.86 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3879, allocations: 29.64 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.3879, allocations: 84.27 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.3879, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.388, allocations: 17.7 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3881, allocations: 310.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.3881, allocations: 3.938 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.3881, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.3882, allocations: 79.28 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/0.3882, allocations: 75.28 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.626e-05/0.3883, allocations: 33.73 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3883, allocations: 79.28 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/0.3884, allocations: 87.16 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.372e-05/0.3885, allocations: 158.6 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.091e-05/0.3885, allocations: 75.28 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-05/0.3886, allocations: 154.5 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3887, allocations: 79.28 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.3888, allocations: 87.22 kB / 1.094 GB, free: 11.16 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.0001368/0.3889, allocations: 260.4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.389, allocations: 105.1 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.389, allocations: 108 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/0.3891, allocations: 188.2 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.737e-05/0.3892, allocations: 184.3 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-05/0.3893, allocations: 184.2 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.3895, allocations: 397.2 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/0.3896, allocations: 105 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3896, allocations: 104.9 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.054e-05/0.3897, allocations: 180.3 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.3898, allocations: 192.1 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.896e-05/0.3898, allocations: 180.3 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.415e-05/0.3899, allocations: 180.3 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.39, allocations: 311.8 kB / 1.096 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3901, allocations: 185.9 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.3902, allocations: 180.2 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.3903, allocations: 101 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.3904, allocations: 188.1 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.3904, allocations: 105 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.3905, allocations: 87.28 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3905, allocations: 0 / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002565/0.3907, allocations: 0 / 1.097 GB, free: 7.484 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.0003436/0.3911, allocations: 186.5 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.3911, allocations: 3.938 kB / 1.097 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3911, allocations: 3.938 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3911, allocations: 4.094 kB / 1.097 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3915, allocations: 455.7 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3918, allocations: 164.9 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3921, allocations: 0.669 MB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.3921, allocations: 7.984 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.3921, allocations: 11.44 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3921, allocations: 0 / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.002547/0.3947, allocations: 315.7 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches