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.01055/0.01055, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001841/0.001842, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002379/1.03, allocations: 1.258 MB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001012/1.031, allocations: 0.7372 MB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/1.031, allocations: 0 / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/1.032, allocations: 4.609 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/1.032, allocations: 12.73 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/1.032, allocations: 48.44 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.983e-05/1.032, allocations: 24.39 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.595e-05/1.032, allocations: 1.094 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/1.032, allocations: 17.98 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/1.032, allocations: 13.94 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/1.032, allocations: 1.281 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.783e-05/1.032, allocations: 6.203 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/1.033, allocations: 7.812 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/1.033, allocations: 11.97 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/1.033, allocations: 21.97 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.033, allocations: 4.844 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/1.033, allocations: 0 / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.033, allocations: 0 / 1.09 GB, free: 4.027 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.0003279/1.033, allocations: 325.2 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.033, allocations: 9.844 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/1.033, allocations: 85.16 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.033, allocations: 245.9 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/1.033, allocations: 160.6 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/1.033, allocations: 151.9 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.97e-05/1.033, allocations: 102.6 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.033, allocations: 76.22 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/1.034, allocations: 163.5 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/1.034, allocations: 150.6 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/1.034, allocations: 155.6 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/1.034, allocations: 449.6 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/1.034, allocations: 170.2 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/1.034, allocations: 84.14 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/1.034, allocations: 76.89 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.034, allocations: 107.5 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/1.034, allocations: 0 / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.44e-05/1.034, allocations: 35.34 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.034, allocations: 127.7 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.034, allocations: 109.4 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/1.034, allocations: 26.83 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/1.034, allocations: 81.73 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/1.034, allocations: 0 / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/1.034, allocations: 28.69 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.035, allocations: 312.7 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/1.035, allocations: 4.172 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/1.035, allocations: 12.73 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/1.035, allocations: 17.3 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.035, allocations: 0 / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/1.035, allocations: 43.31 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.035, allocations: 9.484 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.035, allocations: 3.938 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.035, allocations: 1.188 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/1.035, allocations: 0.7969 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.035, allocations: 0 / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/1.035, allocations: 6.891 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/1.035, allocations: 2.031 kB / 1.093 GB, free: 16.64 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.0001179/1.035, allocations: 183.9 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/1.035, allocations: 111.6 kB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/1.035, allocations: 110.9 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.485e-05/1.035, allocations: 182.2 kB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/1.035, allocations: 185.8 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.493e-05/1.035, allocations: 178.1 kB / 1.094 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/1.036, allocations: 407.2 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/1.036, allocations: 103.4 kB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/1.036, allocations: 106.1 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-05/1.036, allocations: 182 kB / 1.095 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/1.036, allocations: 190.1 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.913e-05/1.036, allocations: 182.1 kB / 1.095 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-05/1.036, allocations: 177.6 kB / 1.095 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/1.036, allocations: 310.8 kB / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/1.036, allocations: 188.6 kB / 1.096 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/1.036, allocations: 186 kB / 1.096 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/1.036, allocations: 102.9 kB / 1.096 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/1.036, allocations: 178.9 kB / 1.096 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/1.037, allocations: 108.9 kB / 1.096 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.542e-05/1.037, allocations: 87.59 kB / 1.097 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.037, allocations: 4 kB / 1.097 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002302/1.037, allocations: 5.219 kB / 1.097 GB, free: 13.08 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.000288/1.037, allocations: 192.2 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/1.037, allocations: 5.484 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.037, allocations: 0 / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/1.037, allocations: 1.156 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/1.038, allocations: 466.5 kB / 1.097 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/1.038, allocations: 167.1 kB / 1.097 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/1.038, allocations: 0.6744 MB / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.919e-05/1.038, allocations: 1 kB / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/1.038, allocations: 9.375 kB / 1.098 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.038, allocations: 7.938 kB / 1.098 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.002709/1.041, allocations: 431 kB / 1.098 GB, free: 11.5 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