Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 194.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.0009364, allocations: 95.94 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.791e-05/4.806e-05, allocations: 12 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.709, allocations: 1.731 GB / 2.95 GB, free: 82.96 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.709, allocations: 87.95 kB / 2.95 GB, free: 82.88 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06792/5.777, allocations: 29.07 MB / 2.978 GB, free: 53.76 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.444e-06/5.777, allocations: 0 / 2.978 GB, free: 53.76 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.866e-05/5.777, allocations: 23.94 kB / 2.978 GB, free: 53.73 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001448/5.779, allocations: 0.9398 MB / 2.979 GB, free: 52.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/5.779, allocations: 12.03 kB / 2.979 GB, free: 52.73 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/5.779, allocations: 102.8 kB / 2.98 GB, free: 52.63 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/5.78, allocations: 0.5686 MB / 2.98 GB, free: 52.02 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/5.78, allocations: 49.31 kB / 2.98 GB, free: 51.98 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/5.78, allocations: 60 kB / 2.98 GB, free: 51.92 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/5.781, allocations: 0.6776 MB / 2.981 GB, free: 51.19 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/5.781, allocations: 7.938 kB / 2.981 GB, free: 51.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/5.781, allocations: 31.98 kB / 2.981 GB, free: 51.15 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/5.781, allocations: 16 kB / 2.981 GB, free: 51.13 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/5.782, allocations: 0.9079 MB / 2.982 GB, free: 50.23 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/5.785, allocations: 2.365 MB / 2.984 GB, free: 47.77 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/5.785, allocations: 0.5902 MB / 2.985 GB, free: 47.17 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/5.786, allocations: 227.3 kB / 2.985 GB, free: 46.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.222e-05/5.786, allocations: 28.53 kB / 2.985 GB, free: 46.92 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/5.786, allocations: 350.5 kB / 2.985 GB, free: 46.55 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 2.264e-06/5.786, allocations: 0 / 2.985 GB, free: 46.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.0007991/5.787, allocations: 0.5255 MB / 2.986 GB, free: 46.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/5.787, allocations: 299.3 kB / 2.986 GB, free: 45.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/5.788, allocations: 0.5816 MB / 2.987 GB, free: 45.07 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/5.788, allocations: 37.7 kB / 2.987 GB, free: 45.03 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/5.788, allocations: 332.6 kB / 2.987 GB, free: 44.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/5.788, allocations: 201.1 kB / 2.987 GB, free: 44.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/5.788, allocations: 12.03 kB / 2.987 GB, free: 44.49 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001154/5.788, allocations: 382.8 kB / 2.988 GB, free: 44.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/5.789, allocations: 157.2 kB / 2.988 GB, free: 43.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/5.789, allocations: 297.2 kB / 2.988 GB, free: 43.62 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/5.789, allocations: 207.2 kB / 2.988 GB, free: 43.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/5.789, allocations: 4 kB / 2.988 GB, free: 43.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007085/5.79, allocations: 0.545 MB / 2.989 GB, free: 42.87 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/5.79, allocations: 4 kB / 2.989 GB, free: 42.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/5.79, allocations: 0 / 2.989 GB, free: 42.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/5.79, allocations: 7.953 kB / 2.989 GB, free: 42.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/5.79, allocations: 115.8 kB / 2.989 GB, free: 42.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/5.79, allocations: 4 kB / 2.989 GB, free: 42.74 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/5.791, allocations: 75.56 kB / 2.989 GB, free: 42.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/5.791, allocations: 23.98 kB / 2.989 GB, free: 42.64 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0001293/5.791, allocations: 138.1 kB / 2.989 GB, free: 42.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/5.791, allocations: 79.05 kB / 2.989 GB, free: 42.42 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/5.792, allocations: 0.7533 MB / 2.99 GB, free: 41.65 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/5.792, allocations: 11.95 kB / 2.99 GB, free: 41.64 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/5.792, allocations: 0 / 2.99 GB, free: 41.64 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/5.792, allocations: 7.984 kB / 2.99 GB, free: 41.63 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/5.793, allocations: 0.9365 MB / 2.991 GB, free: 40.64 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/5.793, allocations: 0 / 2.991 GB, free: 40.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/5.794, allocations: 119.8 kB / 2.991 GB, free: 40.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/5.794, allocations: 11.98 kB / 2.991 GB, free: 40.51 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/5.794, allocations: 19.98 kB / 2.991 GB, free: 40.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/5.794, allocations: 0 / 2.991 GB, free: 40.49 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/5.794, allocations: 4 kB / 2.991 GB, free: 40.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/5.795, allocations: 0.6352 MB / 2.992 GB, free: 39.82 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/5.795, allocations: 271.8 kB / 2.992 GB, free: 39.54 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/5.795, allocations: 20 kB / 2.992 GB, free: 39.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/5.795, allocations: 55.95 kB / 2.992 GB, free: 39.46 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/5.795, allocations: 52.64 kB / 2.992 GB, free: 39.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/5.796, allocations: 27.98 kB / 2.992 GB, free: 39.38 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004488/5.796, allocations: 479.1 kB / 2.992 GB, free: 38.92 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.796, allocations: 0 / 2.992 GB, free: 38.92 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007546/5.797, allocations: 275.4 kB / 2.993 GB, free: 38.65 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00124/5.798, allocations: 0.5708 MB / 2.993 GB, free: 38.22 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006537/5.799, allocations: 470.8 kB / 2.994 GB, free: 37.77 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.799, allocations: 0 / 2.994 GB, free: 37.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/5.799, allocations: 272.7 kB / 2.994 GB, free: 37.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/5.8, allocations: 213.6 kB / 2.994 GB, free: 37.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/5.802, allocations: 1.007 MB / 2.995 GB, free: 36.26 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/5.802, allocations: 0.9699 MB / 2.996 GB, free: 35.26 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000632/5.803, allocations: 245.7 kB / 2.996 GB, free: 35.02 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/5.803, allocations: 83.41 kB / 2.996 GB, free: 34.93 MB / 1.167 GB Notification: Performance of SimCode: time 3.51e-07/5.803, allocations: 0 / 2.996 GB, free: 34.93 MB / 1.167 GB Notification: Performance of Templates: time 0.01631/5.819, allocations: 10.92 MB / 3.007 GB, free: 24.14 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches