Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001155/0.001155, allocations: 98.8 kB / 16.35 MB, free: 5.824 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.00104/0.00104, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.7 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2625, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00232/0.2648, allocations: 1.244 MB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2659, allocations: 0.7255 MB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.2659, allocations: 0 / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.266, allocations: 0 / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.2662, allocations: 15.92 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.77e-05/0.2663, allocations: 8 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.2664, allocations: 15.91 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.2665, allocations: 3.938 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.2665, allocations: 4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2666, allocations: 8 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2667, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.2667, allocations: 7.984 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.2668, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.2668, allocations: 7.938 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.2669, allocations: 15.97 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2669, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2669, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2669, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 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.0003122/0.2672, allocations: 315.6 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2673, allocations: 16.03 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.2673, allocations: 76.22 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2675, allocations: 239.6 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.2675, allocations: 158.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.2676, allocations: 154.9 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.319e-05/0.2677, allocations: 101.5 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.2677, allocations: 79.47 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.2677, allocations: 158.5 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.2678, allocations: 150.6 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.2679, allocations: 154.5 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.2681, allocations: 446 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.2682, allocations: 169.1 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.2683, allocations: 80.14 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2683, allocations: 75.28 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.2684, allocations: 109.8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2684, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.557e-05/0.2684, allocations: 53.61 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2685, allocations: 126.7 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.2686, allocations: 93.86 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2686, allocations: 25.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2686, allocations: 80.14 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2686, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2687, allocations: 13.72 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.2688, allocations: 323 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.2688, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.2688, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.2688, allocations: 79.28 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.2688, allocations: 75.28 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.788e-05/0.2689, allocations: 29.64 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.2689, allocations: 87.22 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.269, allocations: 79.22 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.269, allocations: 158.5 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.2691, allocations: 75.28 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.483e-05/0.2691, allocations: 162.5 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2692, allocations: 79.22 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2692, allocations: 75.28 kB / 1.033 GB, free: 11.7 MB / 0.8106 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 9.942e-05/0.2694, allocations: 264.4 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.2694, allocations: 104.9 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.2695, allocations: 112.2 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/0.2695, allocations: 188.3 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.408e-05/0.2696, allocations: 180.2 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.2696, allocations: 176.3 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2698, allocations: 405.2 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.2699, allocations: 109 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.2699, allocations: 105 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.722e-05/0.27, allocations: 180.2 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.27, allocations: 180.2 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/0.2701, allocations: 192.2 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-05/0.2701, allocations: 176.3 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.2702, allocations: 303.8 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.2703, allocations: 186 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.2703, allocations: 188.1 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.2704, allocations: 109 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.2705, allocations: 184.2 kB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2705, allocations: 104.9 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.2706, allocations: 83.27 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2706, allocations: 0 / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002628/0.2708, allocations: 4 kB / 1.036 GB, free: 8.008 MB / 0.8106 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.0002468/0.2711, allocations: 194.2 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.403e-05/0.2711, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2711, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.2712, allocations: 3.938 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2715, allocations: 463.7 kB / 1.037 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.2718, allocations: 164.8 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.272, allocations: 0.6729 MB / 1.037 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.272, allocations: 3.938 kB / 1.037 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.272, allocations: 7.438 kB / 1.037 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.272, allocations: 0 / 1.037 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of Templates: time 0.00222/0.2742, allocations: 322.3 kB / 1.038 GB, free: 6.176 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches