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.001543/0.001543, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00181/0.00181, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.174/2.174, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 65.27 kB / 0.814 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2698, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002305/0.2722, allocations: 1.263 MB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2734, allocations: 0.7408 MB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.2734, allocations: 0 / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.2734, allocations: 7.938 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2736, allocations: 7.984 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2739, allocations: 55.48 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.2739, allocations: 23.92 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.274, allocations: 3.984 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.274, allocations: 8 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2742, allocations: 15.92 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2742, allocations: 0 / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.2742, allocations: 11.98 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.2743, allocations: 4 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2743, allocations: 11.92 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.811e-05/0.2744, allocations: 15.98 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2744, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.426e-06/0.2744, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2745, allocations: 3.938 kB / 0.9532 GB, free: 5.887 MB / 0.7325 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.0003752/0.2748, allocations: 339.3 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2749, allocations: 12.03 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.2749, allocations: 80.22 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2751, allocations: 239.6 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.2751, allocations: 154.9 kB / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.2752, allocations: 154.9 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.2753, allocations: 101.5 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2753, allocations: 83.41 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.2753, allocations: 158.5 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.2754, allocations: 150.6 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.2755, allocations: 154.5 kB / 0.9548 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.2758, allocations: 450 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.2758, allocations: 177.1 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.2759, allocations: 80.14 kB / 0.9555 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2759, allocations: 75.28 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.276, allocations: 113.8 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.276, allocations: 0 / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.276, allocations: 41.64 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2761, allocations: 126.7 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2762, allocations: 109.8 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2762, allocations: 25.7 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.2763, allocations: 80.14 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2763, allocations: 0 / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.2763, allocations: 17.7 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2764, allocations: 322.8 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.2765, allocations: 0 / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.2765, allocations: 8 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.2765, allocations: 20.78 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2765, allocations: 0 / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.889e-05/0.2766, allocations: 41.7 kB / 0.9564 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2767, allocations: 6.031 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2767, allocations: 7.922 kB / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2767, allocations: 128 / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2767, allocations: 4 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2767, allocations: 0 / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.2768, allocations: 7.906 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2768, allocations: 0 / 0.9564 GB, free: 2.379 MB / 0.7325 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 9.122e-05/0.2769, allocations: 185.1 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.277, allocations: 108.9 kB / 0.9567 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.2771, allocations: 108.5 kB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/0.2771, allocations: 188.3 kB / 0.957 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001315/0.2773, allocations: 180.2 kB / 0.9572 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.218e-05/0.2773, allocations: 180.2 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2776, allocations: 413.1 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001303/0.2777, allocations: 101 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.2778, allocations: 109 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-05/0.2778, allocations: 184.4 kB / 0.9581 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.278, allocations: 184.2 kB / 0.9583 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-05/0.278, allocations: 180.2 kB / 0.9585 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.302e-05/0.2781, allocations: 184.3 kB / 0.9586 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2783, allocations: 311.8 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2785, allocations: 182.1 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.2786, allocations: 188.1 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.2787, allocations: 101 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.2788, allocations: 188.2 kB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.2789, allocations: 105.2 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.2789, allocations: 87.28 kB / 0.9597 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2789, allocations: 0 / 0.9597 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002823/0.2792, allocations: 4 kB / 0.9597 GB, free: 14.75 MB / 0.7481 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.0002786/0.2795, allocations: 190.4 kB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.2796, allocations: 12 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2796, allocations: 0 / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.2796, allocations: 7.938 kB / 0.9599 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.28, allocations: 451.7 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.2802, allocations: 172.8 kB / 0.9605 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2805, allocations: 0.6728 MB / 0.9612 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.2805, allocations: 8 kB / 0.9612 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.2805, allocations: 7.438 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.2805, allocations: 0 / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.002456/0.283, allocations: 429.4 kB / 0.9616 GB, free: 12.77 MB / 0.7481 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 -s gbode -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