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.00136/0.00136, allocations: 100 kB / 15.05 MB, free: 1.105 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.001643/0.001643, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.5 MB / 0.7104 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004687, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7501, allocations: 153.6 MB / 1.021 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001357/0.7516, allocations: 0.9852 MB / 1.022 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.7526, allocations: 0.6837 MB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.7526, allocations: 0 / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.7526, allocations: 3.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.7528, allocations: 7.984 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.753, allocations: 58.67 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.7531, allocations: 11.98 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.7531, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.7532, allocations: 15.92 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.7533, allocations: 4 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.7533, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.217e-05/0.7533, allocations: 4 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.7534, allocations: 7.984 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.7534, allocations: 33.64 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.678e-05/0.7535, allocations: 7.984 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7535, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7535, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.7535, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.7794 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.0002899/0.7538, allocations: 321.4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7538, allocations: 11.98 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.7539, allocations: 75.28 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.7541, allocations: 246.3 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.7541, allocations: 150.6 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.7542, allocations: 154.6 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.822e-05/0.7543, allocations: 112.9 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.7543, allocations: 75.28 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.7544, allocations: 154.6 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.7544, allocations: 154.5 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.7545, allocations: 154.6 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.7547, allocations: 449.9 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.7548, allocations: 169.1 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.7549, allocations: 75.28 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.7549, allocations: 113.8 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.7549, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.059e-05/0.755, allocations: 33.56 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.755, allocations: 126.7 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7552, allocations: 109.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.7552, allocations: 25.7 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.7552, allocations: 80.14 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.7552, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7552, allocations: 7.984 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.7553, allocations: 314.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.7554, allocations: 7.984 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.7554, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.7554, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7554, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001076/0.7555, allocations: 49.62 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7556, allocations: 7.938 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7556, allocations: 4.125 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.7556, allocations: 3.953 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.7556, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.7556, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.7557, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7557, allocations: 3.984 kB / 1.026 GB, free: 12.01 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.7558, allocations: 185.1 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.7559, allocations: 104.9 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.7559, allocations: 112.5 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-05/0.756, allocations: 184.2 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.703e-05/0.756, allocations: 184.2 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/0.7561, allocations: 176.5 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.7563, allocations: 405.2 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-05/0.7563, allocations: 113 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.7564, allocations: 105 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.841e-05/0.7564, allocations: 180.2 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.7565, allocations: 176.3 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.187e-05/0.7565, allocations: 184.2 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.776e-05/0.7566, allocations: 188.3 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.7567, allocations: 315.9 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.7568, allocations: 182.1 kB / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.7569, allocations: 180.2 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.757, allocations: 109 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.757, allocations: 180.3 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.7571, allocations: 112.8 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.7571, allocations: 83.27 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7571, allocations: 0 / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000231/0.7574, allocations: 4 kB / 1.029 GB, free: 8.398 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002203/0.7576, allocations: 178.5 kB / 1.029 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.7577, allocations: 15.98 kB / 1.029 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7577, allocations: 0 / 1.029 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.7577, allocations: 0 / 1.029 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.758, allocations: 0.519 MB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.7582, allocations: 172.1 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.7584, allocations: 0.6809 MB / 1.03 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.7585, allocations: 3.938 kB / 1.03 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.7585, allocations: 7.438 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7585, allocations: 4 kB / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of Templates: time 0.002342/0.7608, allocations: 391.2 kB / 1.031 GB, free: 6.383 MB / 0.7794 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","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches