Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005347/0.005347, allocations: 100.8 kB / 15.73 MB, free: 6.5 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.001087/0.001087, allocations: 191.5 kB / 16.67 MB, free: 6.379 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 66.95 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3551, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003333/0.3585, allocations: 1.219 MB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3603, allocations: 0.7314 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.3603, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.3604, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.3608, allocations: 8 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.3609, allocations: 11.94 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.361, allocations: 11.97 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.3611, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.3611, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3613, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3614, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.3614, allocations: 23.86 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.3615, allocations: 7.984 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.3616, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3617, allocations: 11.92 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.3617, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3617, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3617, allocations: 0 / 1.09 GB, free: 15.48 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.0005073/0.3623, allocations: 323.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.3623, allocations: 8.031 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.3624, allocations: 80.22 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.3627, allocations: 243.7 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.3628, allocations: 150.9 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.3629, allocations: 150.9 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.363, allocations: 106.9 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.363, allocations: 75.47 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.3631, allocations: 158.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-05/0.3632, allocations: 166.5 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.3633, allocations: 150.6 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.3637, allocations: 438 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3638, allocations: 177.1 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.3638, allocations: 88.12 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.3639, allocations: 75.28 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.3639, allocations: 109.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.364, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001016/0.3641, allocations: 29.64 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.3641, allocations: 130.7 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3643, allocations: 97.86 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3643, allocations: 25.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.3643, allocations: 84.14 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.3644, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3644, allocations: 13.7 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3645, allocations: 314.8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-06/0.3646, allocations: 4.125 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.3646, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.3646, allocations: 75.28 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.561e-05/0.3647, allocations: 75.28 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.482e-05/0.3648, allocations: 29.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.3648, allocations: 79.28 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.3649, allocations: 87.16 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.432e-05/0.365, allocations: 162.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.365, allocations: 79.28 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.479e-05/0.3651, allocations: 154.5 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3652, allocations: 79.22 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3653, allocations: 83.22 kB / 1.094 GB, free: 11.22 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 0.0001388/0.3654, allocations: 260.4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.3655, allocations: 109.1 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.3656, allocations: 112 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.409e-05/0.3657, allocations: 184.2 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/0.3657, allocations: 176.3 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-05/0.3658, allocations: 184.2 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3661, allocations: 405.2 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.3662, allocations: 101 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.3662, allocations: 104.9 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.542e-05/0.3663, allocations: 184.2 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.3664, allocations: 184.1 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.286e-05/0.3665, allocations: 180.3 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.3666, allocations: 188.2 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3667, allocations: 299.8 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3668, allocations: 197.9 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.3669, allocations: 180.2 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.3671, allocations: 105 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.3672, allocations: 184.2 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3672, allocations: 109 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3673, allocations: 75.28 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3673, allocations: 0 / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003563/0.3676, allocations: 4 kB / 1.097 GB, free: 7.543 MB / 0.8575 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.0004014/0.368, allocations: 196 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.3681, allocations: 7.938 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3681, allocations: 0 / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.3682, allocations: 0 / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3686, allocations: 451.7 kB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.369, allocations: 172.9 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3693, allocations: 0.6729 MB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.3693, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3693, allocations: 7.438 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.3693, allocations: 4 kB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.003283/0.3726, allocations: 326.4 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches