Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 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.001573/0.001573, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.89 kB / 0.912 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3352, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002424/0.3377, allocations: 1.26 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3387, allocations: 0.7447 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.3388, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.3388, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.339, allocations: 11.92 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3392, allocations: 47.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.3393, allocations: 27.92 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.3393, allocations: 7.984 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.3394, allocations: 11.94 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3395, allocations: 11.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3396, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.3396, allocations: 7.984 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.3397, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.3397, allocations: 15.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.688e-05/0.3398, allocations: 11.98 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3398, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3398, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3398, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 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.0002726/0.3401, allocations: 339.6 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3401, allocations: 12.02 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.3402, allocations: 76.22 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3403, allocations: 239.7 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.3404, allocations: 150.9 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.3404, allocations: 154.9 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.244e-05/0.3405, allocations: 105.5 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.3405, allocations: 75.47 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.3406, allocations: 158.5 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.3407, allocations: 154.6 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.3407, allocations: 150.6 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.341, allocations: 457.9 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.3411, allocations: 169.1 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.3411, allocations: 84.19 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3411, allocations: 75.28 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3412, allocations: 113.8 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3412, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.077e-05/0.3413, allocations: 33.64 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3414, allocations: 134.6 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3415, allocations: 109.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3415, allocations: 25.7 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3415, allocations: 80.14 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.3415, allocations: 8 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3416, allocations: 13.72 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3417, allocations: 322.8 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.3417, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.3417, allocations: 4.25 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.3418, allocations: 16.84 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3418, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.3419, allocations: 49.73 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3419, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3419, allocations: 3.938 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3419, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.3419, allocations: 7.984 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.342, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.342, allocations: 3.938 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3421, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 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.0001157/0.3422, allocations: 185.1 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3422, allocations: 105 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.3423, allocations: 124.2 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-05/0.3424, allocations: 176.3 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.3424, allocations: 180.3 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-05/0.3425, allocations: 180.2 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3427, allocations: 409.2 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.3428, allocations: 108.9 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.3428, allocations: 105 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-05/0.3429, allocations: 180.4 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.343, allocations: 188.2 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.343, allocations: 176.3 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-05/0.3431, allocations: 188.2 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3433, allocations: 315.7 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.3434, allocations: 178.1 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.3434, allocations: 180.2 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.3435, allocations: 116.9 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.3436, allocations: 180.2 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.3436, allocations: 104.9 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.3437, allocations: 79.28 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3437, allocations: 0 / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002224/0.3439, allocations: 4 kB / 1.077 GB, free: 1.09 MB / 0.8262 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.0002762/0.3442, allocations: 202.5 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.3443, allocations: 11.98 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3443, allocations: 0 / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3443, allocations: 0 / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3446, allocations: 460.4 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.3449, allocations: 182.6 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3451, allocations: 0.6729 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.3451, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.3452, allocations: 7.438 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3452, allocations: 3.938 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.002276/0.3474, allocations: 434.5 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches