Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001201/0.001201, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001147/0.001147, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.348/2.348, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6345, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002098/0.6366, allocations: 1.26 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.6376, allocations: 0.7465 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.6376, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.6377, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.6379, allocations: 11.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.638, allocations: 51.92 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.6381, allocations: 19.92 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.6382, allocations: 7.984 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.6382, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.6383, allocations: 19.92 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.6384, allocations: 0 / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.6384, allocations: 11.92 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.6385, allocations: 4 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.6385, allocations: 11.92 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.877e-05/0.6386, allocations: 19.98 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6386, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6386, allocations: 4 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.6386, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 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.0002933/0.6389, allocations: 327.1 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6389, allocations: 12.03 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.639, allocations: 84.16 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6391, allocations: 243.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.6392, allocations: 150.9 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.6392, allocations: 158.9 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.984e-05/0.6393, allocations: 101.5 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.6393, allocations: 79.41 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.6394, allocations: 154.5 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.6394, allocations: 154.6 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.6395, allocations: 150.6 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.6398, allocations: 453.9 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.6398, allocations: 169.1 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.6399, allocations: 84.08 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.6399, allocations: 75.28 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.6399, allocations: 113.8 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.6399, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.514e-05/0.64, allocations: 33.64 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.6401, allocations: 126.7 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6402, allocations: 109.8 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6402, allocations: 25.7 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.6402, allocations: 84.14 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.6403, allocations: 4 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.6403, allocations: 21.66 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.6404, allocations: 314.8 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6404, allocations: 7.938 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.6404, allocations: 8 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.6405, allocations: 16.84 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6405, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.508e-05/0.6406, allocations: 41.8 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6406, allocations: 5.719 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6406, allocations: 7.922 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6406, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.6406, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.6407, allocations: 4 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.6408, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.6408, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9356 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 9.344e-05/0.6409, allocations: 193.1 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6409, allocations: 112.9 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.641, allocations: 116.5 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.792e-05/0.6411, allocations: 180.2 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/0.6411, allocations: 176.3 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.6412, allocations: 180.2 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.6414, allocations: 409.2 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/0.6414, allocations: 101.2 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.6415, allocations: 116.9 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.765e-05/0.6415, allocations: 184.2 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.6416, allocations: 184.1 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-05/0.6416, allocations: 176.5 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.171e-05/0.6417, allocations: 184.3 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.6418, allocations: 315.7 kB / 1.216 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.6419, allocations: 182 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.642, allocations: 180.2 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.642, allocations: 113 kB / 1.217 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.6421, allocations: 184.2 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.6421, allocations: 101 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.6422, allocations: 83.28 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6422, allocations: 4 kB / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002147/0.6424, allocations: 5.969 kB / 1.217 GB, free: 4.32 MB / 0.9356 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.0002297/0.6426, allocations: 203.7 kB / 1.217 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.6427, allocations: 7.938 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6427, allocations: 0 / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.6427, allocations: 3.938 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.643, allocations: 459.7 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.6433, allocations: 198.5 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.6435, allocations: 0.6729 MB / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.6435, allocations: 15.44 kB / 1.219 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.6435, allocations: 0 / 1.219 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of Templates: time 0.001626/0.6452, allocations: 0.5197 MB / 1.219 GB, free: 2.199 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches