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.001656/0.001656, allocations: 100.1 kB / 15.88 MB, free: 12 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.002067/0.002067, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.88 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00282/0.3345, allocations: 1.333 MB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3357, allocations: 0.719 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.3358, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.3358, allocations: 0 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3361, allocations: 4 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.3363, allocations: 62.78 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.3364, allocations: 23.98 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3364, allocations: 4 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.3365, allocations: 19.92 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3366, allocations: 11.92 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3366, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.3367, allocations: 8 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.3368, allocations: 7.984 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.3368, allocations: 11.92 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.792e-05/0.3369, allocations: 11.98 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3369, allocations: 0 / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3369, allocations: 4 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3369, allocations: 0 / 1.055 GB, free: 6.105 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.0003567/0.3373, allocations: 331.7 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3373, allocations: 15.97 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.3374, allocations: 80.12 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3375, allocations: 239.7 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.3376, allocations: 154.9 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.3377, allocations: 158.9 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.21e-05/0.3378, allocations: 101.5 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.3378, allocations: 75.47 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.3379, allocations: 154.5 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.3379, allocations: 154.6 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.338, allocations: 154.6 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3383, allocations: 449.9 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.3384, allocations: 173.1 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3385, allocations: 80.14 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3385, allocations: 79.22 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.3386, allocations: 109.8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3386, allocations: 3.938 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.668e-05/0.3387, allocations: 37.58 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.3387, allocations: 130.7 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3389, allocations: 109.8 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3389, allocations: 29.69 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.3389, allocations: 84.12 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.339, allocations: 4 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.339, allocations: 17.72 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3391, allocations: 318.8 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3391, allocations: 0 / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.3392, allocations: 11.98 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.3392, allocations: 12.86 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3392, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.3394, allocations: 57.62 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3394, allocations: 5.094 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3394, allocations: 3.938 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3394, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3394, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3394, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.3395, allocations: 4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3395, allocations: 3.984 kB / 1.058 GB, free: 2.594 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 (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.0001104/0.3397, allocations: 185.2 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.3397, allocations: 105 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.3398, allocations: 112.4 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.3399, allocations: 184.2 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.594e-05/0.3399, allocations: 184.2 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-05/0.34, allocations: 176.3 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.3403, allocations: 409.3 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/0.3403, allocations: 108.9 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.3403, allocations: 101 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.895e-05/0.3404, allocations: 184.2 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.3405, allocations: 180.2 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-05/0.3405, allocations: 180.2 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.935e-05/0.3406, allocations: 184.2 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3408, allocations: 303.8 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.3409, allocations: 186.1 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.3409, allocations: 188.1 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.341, allocations: 116.9 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.3411, allocations: 180.3 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.3411, allocations: 104.9 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.3412, allocations: 91.45 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3412, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002399/0.3415, allocations: 4 kB / 1.061 GB, free: 14.98 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.0003359/0.3418, allocations: 194.5 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.3419, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3419, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3419, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3423, allocations: 0.5225 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.3426, allocations: 204.1 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3428, allocations: 0.677 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3428, allocations: 7.438 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3428, allocations: 0 / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.00192/0.3448, allocations: 0.5062 MB / 1.063 GB, free: 12.8 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