Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_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_9_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.001637/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002711/0.002711, allocations: 193.5 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.613 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.53/2.53, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7865, allocations: 140.4 MB / 0.9489 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002361/0.7889, allocations: 1.329 MB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.7899, allocations: 0.711 MB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.79, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.79, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.7902, allocations: 19.73 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.7904, allocations: 46.22 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.7905, allocations: 32.19 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.7905, allocations: 5.516 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.7906, allocations: 11.84 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.7907, allocations: 8.688 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.7907, allocations: 1.156 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.7908, allocations: 17.41 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.7908, allocations: 3 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.7909, allocations: 14.89 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.791, allocations: 25.59 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.791, allocations: 1.344 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.791, allocations: 0 / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.791, allocations: 0 / 0.9511 GB, free: 7.598 MB / 0.7169 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.0002958/0.7913, allocations: 330.5 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7913, allocations: 8.375 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.7914, allocations: 81.53 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7915, allocations: 245 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.7916, allocations: 156.6 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.7916, allocations: 152.4 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.016e-05/0.7917, allocations: 109.5 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.7917, allocations: 76.72 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.7917, allocations: 154.5 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.7918, allocations: 158.6 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.7918, allocations: 151.9 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.7921, allocations: 448.9 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.7922, allocations: 174.4 kB / 0.9532 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.7923, allocations: 84.14 kB / 0.9533 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.7923, allocations: 76.44 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.7923, allocations: 105.8 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7924, allocations: 1.062 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001122/0.7925, allocations: 32.66 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.7925, allocations: 130.7 kB / 0.9536 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.7927, allocations: 110.1 kB / 0.9537 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7928, allocations: 31.11 kB / 0.9538 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.7928, allocations: 84.12 kB / 0.9539 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.7928, allocations: 1.344 kB / 0.9539 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.7929, allocations: 21.89 kB / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.793, allocations: 316.2 kB / 0.9542 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.793, allocations: 2.781 kB / 0.9542 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.7931, allocations: 9.578 kB / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.7931, allocations: 17.3 kB / 0.9542 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7932, allocations: 0 / 0.9542 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.7933, allocations: 45.31 kB / 0.9543 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.7934, allocations: 4.688 kB / 0.9543 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7934, allocations: 4.188 kB / 0.9543 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7934, allocations: 0 / 0.9543 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-06/0.7934, allocations: 5.594 kB / 0.9543 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.7934, allocations: 0 / 0.9543 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.7936, allocations: 5.438 kB / 0.9543 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.7936, allocations: 1.125 kB / 0.9543 GB, free: 4.184 MB / 0.7169 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.0001326/0.7938, allocations: 191.7 kB / 0.9545 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.7938, allocations: 109.9 kB / 0.9546 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.7939, allocations: 113.4 kB / 0.9547 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.794, allocations: 181.5 kB / 0.9548 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.392e-05/0.7941, allocations: 185.8 kB / 0.955 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/0.7941, allocations: 188.1 kB / 0.9552 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.7944, allocations: 401.4 kB / 0.9556 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.7945, allocations: 109 kB / 0.9557 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.7945, allocations: 106.7 kB / 0.9558 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.7946, allocations: 177.4 kB / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.7947, allocations: 188.1 kB / 0.9561 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.526e-05/0.7947, allocations: 177.7 kB / 0.9563 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.758e-05/0.7948, allocations: 185.5 kB / 0.9565 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7949, allocations: 303.5 kB / 0.9568 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.795, allocations: 183.4 kB / 0.9569 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.7951, allocations: 190.1 kB / 0.9571 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.7952, allocations: 106.7 kB / 0.9572 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.7952, allocations: 180.2 kB / 0.9574 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.7953, allocations: 102.4 kB / 0.9575 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.7953, allocations: 85.05 kB / 0.9576 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7953, allocations: 0 / 0.9576 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002753/0.7956, allocations: 2.469 kB / 0.9576 GB, free: 0.5977 MB / 0.7169 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.0004439/0.796, allocations: 193 kB / 0.9578 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.7962, allocations: 9.5 kB / 0.9578 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7962, allocations: 0 / 0.9578 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.7962, allocations: 1.281 kB / 0.9578 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.7966, allocations: 0.5202 MB / 0.9583 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.7971, allocations: 173.2 kB / 0.9585 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.7975, allocations: 0.6767 MB / 0.9591 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.7975, allocations: 1.125 kB / 0.9591 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.7975, allocations: 8.562 kB / 0.9591 GB, free: 15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7975, allocations: 4 kB / 0.9591 GB, free: 15 MB / 0.7325 GB Notification: Performance of Templates: time 0.002887/0.8004, allocations: 419.1 kB / 0.9595 GB, free: 14.79 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches