Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009723/0.009723, allocations: 102.9 kB / 15.74 MB, free: 5.551 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.001801/0.001801, allocations: 195.9 kB / 16.67 MB, free: 5.48 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/0.9938, allocations: 140.4 MB / 1.088 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002422/0.9963, allocations: 1.26 MB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.9975, allocations: 0.7303 MB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.9975, allocations: 0 / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.9976, allocations: 1.125 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.9978, allocations: 19.98 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.9981, allocations: 48.97 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.9981, allocations: 15.16 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.9982, allocations: 3.594 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.9983, allocations: 21.2 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.9984, allocations: 10.12 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.9984, allocations: 1.062 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.9985, allocations: 10.53 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.9985, allocations: 3.156 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.9986, allocations: 13.06 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.9987, allocations: 29.16 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9987, allocations: 1.438 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9987, allocations: 0 / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9987, allocations: 0.5625 kB / 1.09 GB, free: 3.977 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.0002628/0.999, allocations: 329.2 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.999, allocations: 9.703 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.9991, allocations: 78.03 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.9991, allocations: 242.8 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.9992, allocations: 158.9 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.9992, allocations: 156.8 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.995e-05/0.9993, allocations: 101.5 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9993, allocations: 77.22 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.9993, allocations: 155 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.9993, allocations: 154.6 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.9994, allocations: 151.2 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.9996, allocations: 453.5 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.9996, allocations: 166.9 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.9997, allocations: 92.12 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.9997, allocations: 76.56 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.9997, allocations: 106.5 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.9997, allocations: 0 / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.216e-05/0.9998, allocations: 40.41 kB / 1.092 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.9998, allocations: 127.3 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.9999, allocations: 111 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/1, allocations: 25.7 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/1, allocations: 82.28 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/1, allocations: 0 / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/1, allocations: 19.52 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1, allocations: 316.7 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/1, allocations: 3.734 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/1, allocations: 8.781 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/1, allocations: 21.78 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1, allocations: 0 / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/1, allocations: 47.12 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1, allocations: 5.703 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1, allocations: 5.406 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1, allocations: 0 / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/1, allocations: 0.6094 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1, allocations: 3.984 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/1.001, allocations: 2.297 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/1.001, allocations: 3.172 kB / 1.093 GB, free: 16.6 MB / 0.8731 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001144/1.001, allocations: 188.5 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/1.001, allocations: 110.7 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/1.001, allocations: 114.9 kB / 1.094 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/1.001, allocations: 182 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/1.001, allocations: 182.4 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.344e-05/1.001, allocations: 181.1 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.001, allocations: 403.9 kB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/1.001, allocations: 106.6 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/1.001, allocations: 102.8 kB / 1.095 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.638e-05/1.001, allocations: 182 kB / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/1.001, allocations: 185.5 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.4e-05/1.002, allocations: 182.2 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-05/1.002, allocations: 186.6 kB / 1.095 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/1.002, allocations: 313.1 kB / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.002, allocations: 181.6 kB / 1.096 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/1.002, allocations: 186.1 kB / 1.096 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/1.002, allocations: 106.7 kB / 1.096 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/1.002, allocations: 178.3 kB / 1.096 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/1.002, allocations: 109.6 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.27e-05/1.002, allocations: 87.58 kB / 1.097 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.002, allocations: 0 / 1.097 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002338/1.002, allocations: 7.312 kB / 1.097 GB, free: 13.03 MB / 0.8731 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.0004069/1.003, allocations: 192.1 kB / 1.097 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/1.003, allocations: 5.516 kB / 1.097 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.003, allocations: 0.5 kB / 1.097 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/1.003, allocations: 0.625 kB / 1.097 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/1.003, allocations: 465.9 kB / 1.097 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/1.004, allocations: 164.7 kB / 1.097 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.004, allocations: 0.6746 MB / 1.098 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.906e-05/1.004, allocations: 1.281 kB / 1.098 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/1.004, allocations: 8.125 kB / 1.098 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.004, allocations: 0 / 1.098 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.002801/1.007, allocations: 442.7 kB / 1.098 GB, free: 11.45 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches