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 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.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.001194/0.001194, allocations: 92.16 kB / 16.02 MB, free: 80 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.001697/0.001697, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003803, allocations: 14.94 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001524/0.3344, allocations: 0.9861 MB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3357, allocations: 0.7151 MB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.3357, allocations: 0 / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.3358, allocations: 0 / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.336, allocations: 15.92 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.3362, allocations: 47.91 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.3363, allocations: 27.92 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.3364, allocations: 11.98 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.3364, allocations: 8 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3366, allocations: 15.86 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3366, allocations: 0 / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.3367, allocations: 19.92 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.3367, allocations: 3.984 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3368, allocations: 37.62 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.3369, allocations: 12 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3369, allocations: 0 / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3369, allocations: 0 / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.3369, allocations: 0 / 1.061 GB, free: 3.082 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.0003248/0.3372, allocations: 328.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3373, allocations: 15.97 kB / 1.062 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.3374, allocations: 76.22 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3375, allocations: 247.6 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.3376, allocations: 150.9 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.3377, allocations: 154.9 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.389e-05/0.3377, allocations: 109.5 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3378, allocations: 75.47 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.3378, allocations: 154.5 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.3379, allocations: 154.6 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.338, allocations: 150.6 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.3383, allocations: 453.9 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.3384, allocations: 169.1 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3384, allocations: 80.14 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3385, allocations: 79.28 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.3385, allocations: 109.8 kB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3385, allocations: 0 / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.566e-05/0.3386, allocations: 33.64 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.3387, allocations: 126.7 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3389, allocations: 105.8 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3389, allocations: 29.64 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.3389, allocations: 88.11 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3389, allocations: 3.938 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.339, allocations: 17.72 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3391, allocations: 314.9 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.3391, allocations: 8 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.3392, allocations: 7.984 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.3392, allocations: 12.86 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3392, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001206/0.3394, allocations: 45.69 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3394, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3394, allocations: 8.062 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3394, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-06/0.3394, allocations: 7.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3394, allocations: 3.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.3395, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3395, allocations: 0 / 1.064 GB, free: 15.59 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.0001091/0.3397, allocations: 185.1 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.3397, allocations: 108.9 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3399, allocations: 116.5 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/0.3399, allocations: 184.2 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.95e-05/0.34, allocations: 176.3 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.467e-05/0.3401, allocations: 184.2 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3404, allocations: 401.6 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.3404, allocations: 113 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.3405, allocations: 112.9 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/0.3405, allocations: 176.3 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.3406, allocations: 184.1 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.124e-05/0.3407, allocations: 176.3 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.3407, allocations: 188.2 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.3409, allocations: 303.8 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.341, allocations: 182 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.3411, allocations: 188.2 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.3412, allocations: 109 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3413, allocations: 184.2 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3413, allocations: 101 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.3414, allocations: 87.22 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3414, allocations: 0 / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002486/0.3416, allocations: 7.984 kB / 1.068 GB, free: 11.97 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.0003963/0.342, allocations: 196.9 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.3421, allocations: 11.94 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3421, allocations: 0 / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.3421, allocations: 0 / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3425, allocations: 0.5165 MB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.3428, allocations: 205.8 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3431, allocations: 0.677 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3431, allocations: 7.438 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3431, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.002183/0.3453, allocations: 0.5186 MB / 1.07 GB, free: 9.781 MB / 0.8262 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/jenkins1/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