Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 110.2 kB / 16.41 MB, free: 6.477 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: 185.5 kB / 17.34 MB, free: 5.754 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8389, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00267/0.8417, allocations: 1.259 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.8428, allocations: 0.7363 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.8428, allocations: 4 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.8428, allocations: 1.5 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.8431, allocations: 19.66 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.8433, allocations: 45.48 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.8434, allocations: 22 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.8434, allocations: 3.203 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.8435, allocations: 16.89 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.8436, allocations: 6.328 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.8437, allocations: 0 / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.8437, allocations: 14.27 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.8438, allocations: 8.5 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.8438, allocations: 8.438 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.8439, allocations: 26.06 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8439, allocations: 0 / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8439, allocations: 1.375 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.8439, allocations: 0 / 1.091 GB, free: 4.043 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.0003167/0.8443, allocations: 327.8 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8443, allocations: 10.23 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.8444, allocations: 89.12 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.8445, allocations: 239 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.8445, allocations: 151.5 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.8445, allocations: 152.8 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.485e-05/0.8446, allocations: 106 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.8446, allocations: 80.38 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.8447, allocations: 158.5 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.8447, allocations: 152.3 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.8447, allocations: 154.5 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.845, allocations: 453.6 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.845, allocations: 171.2 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.845, allocations: 80.14 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.8451, allocations: 76.72 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.8451, allocations: 106.5 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.8451, allocations: 0 / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.545e-05/0.8452, allocations: 40.84 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.8452, allocations: 131.4 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.8453, allocations: 105.5 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.8453, allocations: 25.7 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.8454, allocations: 81.91 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8454, allocations: 0 / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.8454, allocations: 21.45 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.8455, allocations: 320.1 kB / 1.094 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.8455, allocations: 7.844 kB / 1.094 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.8456, allocations: 11.77 kB / 1.094 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.8456, allocations: 18.95 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8456, allocations: 0 / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.8458, allocations: 46.77 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8458, allocations: 7.406 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8458, allocations: 4.641 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8458, allocations: 1.062 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.8458, allocations: 0 / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.8458, allocations: 2 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.846, allocations: 5.609 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.846, allocations: 2.281 kB / 1.094 GB, free: 16.66 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.0001075/0.8461, allocations: 183.9 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.8462, allocations: 107.8 kB / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.8462, allocations: 115.1 kB / 1.094 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.437e-05/0.8463, allocations: 182.2 kB / 1.095 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/0.8464, allocations: 186.3 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-05/0.8464, allocations: 178.6 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.8467, allocations: 406.8 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/0.8467, allocations: 102 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.8468, allocations: 103.1 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.009e-05/0.8468, allocations: 186 kB / 1.096 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.8469, allocations: 180.9 kB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.637e-05/0.847, allocations: 182.4 kB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-05/0.847, allocations: 182.9 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.8472, allocations: 308.6 kB / 1.096 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.8473, allocations: 186 kB / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.8474, allocations: 190.7 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.8475, allocations: 105.5 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.8475, allocations: 182.1 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.8476, allocations: 106.5 kB / 1.097 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.8476, allocations: 90.45 kB / 1.097 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8476, allocations: 1 kB / 1.097 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002188/0.8479, allocations: 5.312 kB / 1.097 GB, free: 13.09 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.0002695/0.8481, allocations: 189.5 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.8482, allocations: 9.984 kB / 1.097 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8482, allocations: 0 / 1.097 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.8482, allocations: 8 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.0003707/0.8486, allocations: 455.7 kB / 1.098 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.8489, allocations: 195.6 kB / 1.098 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.8491, allocations: 0.6763 MB / 1.099 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.8492, allocations: 7.438 kB / 1.099 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8492, allocations: 5.406 kB / 1.099 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.002099/0.8513, allocations: 0.5245 MB / 1.099 GB, free: 11.52 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches