Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.91 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002556/0.353, allocations: 1.275 MB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.3555, allocations: 1.528 MB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.3556, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.3556, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3558, allocations: 15.92 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.3564, allocations: 222.9 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.3565, allocations: 31.84 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.3566, allocations: 0 / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.3567, allocations: 15.92 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3568, allocations: 11.98 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.3568, allocations: 11.94 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.3571, allocations: 163.8 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.3571, allocations: 7.984 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3572, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3574, allocations: 147.6 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3574, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3574, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3574, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 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.0004806/0.3579, allocations: 367 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.358, allocations: 12.03 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.3581, allocations: 84.22 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3582, allocations: 243.6 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.3583, allocations: 154.9 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.3584, allocations: 158.7 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.3585, allocations: 101 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.3585, allocations: 75.28 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.3586, allocations: 162.5 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.3587, allocations: 150.6 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.3587, allocations: 150.6 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.3591, allocations: 457.9 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3592, allocations: 173.1 kB / 1.222 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.3593, allocations: 84.08 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.3593, allocations: 79.28 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.3594, allocations: 105.8 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3594, allocations: 0 / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.443e-05/0.3595, allocations: 37.64 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.3595, allocations: 134.7 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3597, allocations: 105.8 kB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3597, allocations: 25.7 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3597, allocations: 88.06 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3597, allocations: 0 / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3598, allocations: 25.7 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3599, allocations: 314.8 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.3599, allocations: 4 kB / 1.223 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.36, allocations: 26.56 kB / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.36, allocations: 26.52 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.36, allocations: 4 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001544/0.3602, allocations: 57.59 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3602, allocations: 4 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3602, allocations: 0 / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3602, allocations: 4.25 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.3603, allocations: 4 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3603, allocations: 4 kB / 1.223 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3605, allocations: 7.984 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3605, allocations: 4 kB / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001499/0.3607, allocations: 189.2 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.3608, allocations: 116.8 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.3608, allocations: 108.1 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.003e-05/0.3609, allocations: 180.2 kB / 1.223 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001199/0.361, allocations: 180.3 kB / 1.223 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/0.3612, allocations: 176.3 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.3615, allocations: 417.1 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-05/0.3616, allocations: 101 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.3616, allocations: 104.9 kB / 1.224 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/0.3617, allocations: 176.3 kB / 1.224 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/0.3618, allocations: 188.2 kB / 1.225 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.151e-05/0.3619, allocations: 184.2 kB / 1.225 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-05/0.362, allocations: 176.3 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.3622, allocations: 311.8 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3624, allocations: 194 kB / 1.225 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3625, allocations: 180.3 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.3626, allocations: 105 kB / 1.226 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3627, allocations: 180.2 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.3627, allocations: 105 kB / 1.226 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.3628, allocations: 83.28 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 3.938 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003954/0.3632, allocations: 55.8 kB / 1.226 GB, free: 4.621 MB / 0.9669 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.0009184/0.3641, allocations: 340 kB / 1.226 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3642, allocations: 11.94 kB / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3642, allocations: 0 / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.3642, allocations: 0 / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3647, allocations: 461.3 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.3651, allocations: 205.4 kB / 1.227 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3656, allocations: 0.669 MB / 1.228 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.3656, allocations: 7.984 kB / 1.228 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.3656, allocations: 11.38 kB / 1.228 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of SimCode: time 7.82e-07/0.3656, allocations: 0 / 1.228 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.005468/0.3711, allocations: 1.608 MB / 1.229 GB, free: 1.316 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.495113600976765]