Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_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_9_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.00134/0.00134, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001233/0.001233, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.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.179/2.179, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.98 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2641, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002592/0.2667, allocations: 1.294 MB / 0.951 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2679, allocations: 0.7055 MB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.2679, allocations: 0 / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.268, allocations: 4 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.2682, allocations: 7.984 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.82e-05/0.2683, allocations: 4 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.2684, allocations: 15.86 kB / 0.9518 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.2684, allocations: 11.98 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.2684, allocations: 0 / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.2686, allocations: 8 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2686, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.021e-05/0.2687, allocations: 11.98 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2687, allocations: 0 / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.2688, allocations: 0 / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.2688, allocations: 7.984 kB / 0.9518 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2689, allocations: 4 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.181e-06/0.2689, allocations: 0 / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2689, allocations: 7.875 kB / 0.9518 GB, free: 7.148 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.0002947/0.2692, allocations: 323.5 kB / 0.9521 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2692, allocations: 8.031 kB / 0.9521 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.2693, allocations: 80.16 kB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.2695, allocations: 239.7 kB / 0.9524 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.2695, allocations: 150.9 kB / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.2696, allocations: 150.9 kB / 0.9527 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.156e-05/0.2697, allocations: 105.5 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.2697, allocations: 83.47 kB / 0.9529 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.2698, allocations: 154.5 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.2698, allocations: 158.5 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.2699, allocations: 154.5 kB / 0.9533 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.2702, allocations: 446 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.2703, allocations: 169.1 kB / 0.9539 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.2704, allocations: 80.14 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2704, allocations: 75.28 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.2704, allocations: 109.8 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.2704, allocations: 4 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.959e-05/0.2705, allocations: 33.62 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.2706, allocations: 126.7 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.2707, allocations: 97.86 kB / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2707, allocations: 29.7 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.2708, allocations: 80.14 kB / 0.9545 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2708, allocations: 0 / 0.9545 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.2708, allocations: 9.719 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2709, allocations: 315 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.271, allocations: 4 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.271, allocations: 3.984 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.271, allocations: 79.28 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-05/0.271, allocations: 75.28 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.785e-05/0.2711, allocations: 33.64 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.2712, allocations: 79.28 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.2712, allocations: 83.3 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.831e-05/0.2713, allocations: 162.5 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.2713, allocations: 75.28 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/0.2714, allocations: 162.6 kB / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2715, allocations: 83.23 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2715, allocations: 83.28 kB / 0.9557 GB, free: 2.887 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 (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.0001148/0.2717, allocations: 260.7 kB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.2717, allocations: 104.9 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.2718, allocations: 119.8 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-05/0.2718, allocations: 184.2 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-05/0.2719, allocations: 176.3 kB / 0.9565 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-05/0.272, allocations: 188.3 kB / 0.9567 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.2722, allocations: 401.2 kB / 0.9571 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-05/0.2723, allocations: 104.9 kB / 0.9572 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.2724, allocations: 104.9 kB / 0.9573 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-05/0.2724, allocations: 184.3 kB / 0.9575 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.2726, allocations: 180.2 kB / 0.9576 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.369e-05/0.2726, allocations: 192.2 kB / 0.9578 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.777e-05/0.2727, allocations: 176.3 kB / 0.958 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2729, allocations: 303.8 kB / 0.9583 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.273, allocations: 186.1 kB / 0.9585 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.2731, allocations: 188.1 kB / 0.9586 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.2732, allocations: 105 kB / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.2733, allocations: 180.2 kB / 0.9589 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.2733, allocations: 105 kB / 0.959 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.2734, allocations: 83.27 kB / 0.9591 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2734, allocations: 0 / 0.9591 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002881/0.2737, allocations: 8 kB / 0.9591 GB, free: 15.2 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.0003083/0.274, allocations: 194.5 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.565e-05/0.274, allocations: 4 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.274, allocations: 0 / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-06/0.274, allocations: 3.938 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2744, allocations: 457 kB / 0.9597 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.2747, allocations: 189.2 kB / 0.9599 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2749, allocations: 0.6766 MB / 0.9606 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.275, allocations: 7.438 kB / 0.9606 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.275, allocations: 0 / 0.9606 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.001747/0.2767, allocations: 480.6 kB / 0.961 GB, free: 13.16 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches