Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_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_10_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.008722/0.008722, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001788/0.001788, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.44/1.44, 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 10.1.1-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002415/1.034, allocations: 1.26 MB / 1.168 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001159/1.035, allocations: 0.7374 MB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/1.035, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/1.035, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/1.036, allocations: 15.92 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/1.036, allocations: 49.12 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/1.036, allocations: 23.92 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/1.036, allocations: 3.984 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/1.036, allocations: 11.98 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/1.036, allocations: 11.94 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/1.036, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/1.036, allocations: 7.984 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/1.036, allocations: 11.98 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/1.036, allocations: 7.938 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/1.036, allocations: 15.97 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.036, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.076e-06/1.036, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.64e-06/1.036, allocations: 3.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 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.0003447/1.037, allocations: 334.2 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.037, allocations: 12.92 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/1.037, allocations: 80.16 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.037, allocations: 247.6 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/1.037, allocations: 150.9 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/1.037, allocations: 154.9 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/1.037, allocations: 101.5 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.037, allocations: 79.47 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/1.037, allocations: 162.4 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/1.037, allocations: 154.6 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/1.037, allocations: 158.5 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/1.038, allocations: 449.9 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/1.038, allocations: 169.1 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/1.038, allocations: 80.14 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/1.038, allocations: 79.28 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.038, allocations: 105.8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.038, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.065e-05/1.038, allocations: 41.58 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.038, allocations: 130.7 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.038, allocations: 101.9 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.038, allocations: 29.69 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/1.038, allocations: 84.14 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/1.038, allocations: 3.984 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/1.038, allocations: 17.72 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.038, allocations: 314.8 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/1.038, allocations: 7.984 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/1.039, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/1.039, allocations: 16.84 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.039, allocations: 4.031 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/1.039, allocations: 49.66 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.039, allocations: 4 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.039, allocations: 3.938 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.039, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/1.039, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.039, allocations: 7.938 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/1.039, allocations: 3.984 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.039, allocations: 0 / 1.172 GB, free: 14.15 MB / 0.9044 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.0001085/1.039, allocations: 189.2 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/1.039, allocations: 104.9 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/1.039, allocations: 116.5 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/1.039, allocations: 184.3 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.959e-05/1.039, allocations: 180.2 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.05e-05/1.039, allocations: 176.3 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/1.04, allocations: 413.2 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-05/1.04, allocations: 101 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/1.04, allocations: 105 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.378e-05/1.04, allocations: 180.2 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/1.04, allocations: 184.2 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-05/1.04, allocations: 184.5 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.684e-05/1.04, allocations: 180.5 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/1.04, allocations: 315.7 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/1.04, allocations: 186 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/1.04, allocations: 188.1 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/1.04, allocations: 109 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/1.04, allocations: 176.3 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/1.041, allocations: 112.9 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.783e-05/1.041, allocations: 83.28 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.41e-07/1.041, allocations: 0 / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002372/1.041, allocations: 7.938 kB / 1.175 GB, free: 10.52 MB / 0.9044 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.0003419/1.041, allocations: 202.9 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.553e-05/1.041, allocations: 7.984 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.041, allocations: 0 / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/1.041, allocations: 3.938 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/1.042, allocations: 456.9 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/1.042, allocations: 172.7 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/1.042, allocations: 0.6768 MB / 1.177 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.563e-05/1.042, allocations: 4 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/1.042, allocations: 11.38 kB / 1.177 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.042, allocations: 0 / 1.177 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of Templates: time 0.002739/1.045, allocations: 425.7 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches