Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008525/0.008525, allocations: 100.6 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.001933/0.001933, allocations: 194 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 72.06 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002251/0.363, allocations: 1.239 MB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.364, allocations: 0.725 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3641, allocations: 3.938 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3641, allocations: 0 / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.3643, allocations: 15.92 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.341e-05/0.3644, allocations: 4 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.3645, allocations: 11.92 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.3645, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.3646, allocations: 11.98 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3647, allocations: 7.984 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3647, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.432e-05/0.3648, allocations: 4 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.3648, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.3648, allocations: 7.938 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.3649, allocations: 11.97 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3649, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3649, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3649, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 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.0003062/0.3652, allocations: 327.5 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3653, allocations: 12.03 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.3653, allocations: 80.16 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3655, allocations: 235.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.3656, allocations: 150.9 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.3656, allocations: 154.9 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.3657, allocations: 109.5 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.3657, allocations: 75.47 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/0.3658, allocations: 154.5 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.3658, allocations: 150.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.3659, allocations: 154.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.3661, allocations: 453.9 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.3662, allocations: 165.1 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.3663, allocations: 84.19 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3663, allocations: 75.28 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.3663, allocations: 109.8 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3663, allocations: 7.938 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.232e-05/0.3664, allocations: 33.58 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3665, allocations: 130.7 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.3665, allocations: 97.86 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3666, allocations: 25.7 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.3666, allocations: 80.14 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.3666, allocations: 0 / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.3666, allocations: 13.84 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3667, allocations: 314.8 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-06/0.3667, allocations: 0 / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.3668, allocations: 7.938 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.3668, allocations: 83.27 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.3668, allocations: 75.28 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.99e-05/0.3669, allocations: 29.64 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.3669, allocations: 85 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.367, allocations: 83.25 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.279e-05/0.367, allocations: 154.5 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.367, allocations: 75.39 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.494e-05/0.3671, allocations: 158.6 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3672, allocations: 83.2 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3672, allocations: 79.28 kB / 1.227 GB, free: 7.457 MB / 0.9825 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.0001101/0.3674, allocations: 264.9 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.3674, allocations: 108.9 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.3675, allocations: 108 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/0.3675, allocations: 184.2 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/0.3676, allocations: 180.2 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/0.3676, allocations: 184.3 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.3679, allocations: 405.2 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/0.3679, allocations: 105 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.3679, allocations: 101 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.123e-05/0.368, allocations: 184.2 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.368, allocations: 188.2 kB / 1.228 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-05/0.3681, allocations: 184.2 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.237e-05/0.3682, allocations: 180.2 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3683, allocations: 303.8 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.3684, allocations: 178.1 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.3685, allocations: 200.1 kB / 1.229 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.3685, allocations: 101 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.3686, allocations: 180.2 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.3686, allocations: 101 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.3687, allocations: 83.28 kB / 1.23 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3687, allocations: 0 / 1.23 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002597/0.3689, allocations: 4 kB / 1.23 GB, free: 3.785 MB / 0.9825 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.000272/0.3692, allocations: 199.6 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.156e-05/0.3693, allocations: 0 / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3693, allocations: 0 / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.3693, allocations: 7.938 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3697, allocations: 455.7 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.3699, allocations: 188.5 kB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3702, allocations: 0.6729 MB / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.225e-05/0.3702, allocations: 3.938 kB / 1.231 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.3702, allocations: 7.438 kB / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3702, allocations: 0 / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of Templates: time 0.002417/0.3726, allocations: 323.9 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches