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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001253/0.001257, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 63.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7009, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002148/0.7031, allocations: 1.318 MB / 0.9509 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.7041, allocations: 0.7178 MB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.7041, allocations: 1.531 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.7041, allocations: 0 / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.7043, allocations: 10.47 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.7045, allocations: 43 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.7046, allocations: 39.77 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.7046, allocations: 1.188 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.7047, allocations: 12.05 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.7048, allocations: 7.109 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7048, allocations: 9.312 kB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.7049, allocations: 17.64 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.705, allocations: 6.734 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.705, allocations: 2.438 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.934e-05/0.7051, allocations: 19.25 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7051, allocations: 1.438 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7051, allocations: 3.938 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7051, allocations: 0 / 0.9518 GB, free: 7.426 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.0002692/0.7054, allocations: 325.5 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7054, allocations: 13.12 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.7055, allocations: 77.5 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.7056, allocations: 250.1 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.7056, allocations: 154.9 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.7056, allocations: 152 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.676e-05/0.7057, allocations: 110.6 kB / 0.9528 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.7057, allocations: 79.47 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.7057, allocations: 155.8 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.7058, allocations: 150.6 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.7058, allocations: 151.8 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.706, allocations: 449.2 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.706, allocations: 174.3 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.7061, allocations: 80.14 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.7061, allocations: 75.28 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.7061, allocations: 111.1 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.7061, allocations: 0 / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.217e-05/0.7062, allocations: 33.69 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.7062, allocations: 130.7 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.7063, allocations: 105.5 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.7064, allocations: 27.02 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.7064, allocations: 85.3 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7064, allocations: 0 / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.7064, allocations: 22.67 kB / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.7065, allocations: 310.8 kB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.7065, allocations: 8 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.7065, allocations: 10.08 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.7066, allocations: 16.89 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7066, allocations: 0 / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.7067, allocations: 43.8 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7067, allocations: 5.562 kB / 0.9549 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7067, allocations: 3.938 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7067, allocations: 1.25 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.7067, allocations: 8.062 kB / 0.9549 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7068, allocations: 3.938 kB / 0.9549 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.7068, allocations: 2.219 kB / 0.9549 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.7069, allocations: 5.422 kB / 0.9549 GB, free: 4.016 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 6.38e-05/0.7069, allocations: 182.5 kB / 0.9551 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.707, allocations: 111 kB / 0.9552 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.707, allocations: 117.9 kB / 0.9553 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.707, allocations: 188.4 kB / 0.9555 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.7071, allocations: 177.9 kB / 0.9557 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.7071, allocations: 185.7 kB / 0.9559 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.7073, allocations: 404 kB / 0.9562 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.7073, allocations: 106.5 kB / 0.9563 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.7073, allocations: 104.9 kB / 0.9564 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.04e-05/0.7073, allocations: 185.4 kB / 0.9566 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.7074, allocations: 185.4 kB / 0.9568 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-05/0.7074, allocations: 181.7 kB / 0.957 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-05/0.7074, allocations: 188.2 kB / 0.9571 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.325e-05/0.7075, allocations: 300.3 kB / 0.9574 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.7076, allocations: 191.2 kB / 0.9576 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.7076, allocations: 181.6 kB / 0.9578 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.7077, allocations: 106.4 kB / 0.9579 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7077, allocations: 177.7 kB / 0.9581 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.7077, allocations: 105 kB / 0.9582 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.7078, allocations: 89.58 kB / 0.9582 GB, free: 436 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7078, allocations: 0 / 0.9582 GB, free: 436 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.708, allocations: 6.656 kB / 0.9583 GB, free: 432 kB / 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.0002931/0.7083, allocations: 195.1 kB / 0.9584 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/0.7084, allocations: 4.062 kB / 0.9584 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7084, allocations: 4.062 kB / 0.9584 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.7084, allocations: 1.281 kB / 0.9584 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.7088, allocations: 0.5251 MB / 0.959 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.7091, allocations: 191.9 kB / 0.9591 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.7093, allocations: 0.6805 MB / 0.9598 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.7093, allocations: 8.875 kB / 0.9598 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.442e-06/0.7093, allocations: 0 / 0.9598 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.002049/0.7114, allocations: 0.5036 MB / 0.9603 GB, free: 14.55 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/jenkins1/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