Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 249.3 MB / 261.8 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 89.22 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.513e-05/5.516e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3057, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9631/1.269, allocations: 134.7 MB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/1.269, allocations: 87.22 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02056/1.29, allocations: 7.837 MB / 1.031 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.204e-06/1.29, allocations: 4 kB / 1.031 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.29, allocations: 4 kB / 1.031 GB, free: 9.527 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006877/1.291, allocations: 476.5 kB / 1.032 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.291, allocations: 8.031 kB / 1.032 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/1.291, allocations: 27.16 kB / 1.032 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/1.291, allocations: 271.8 kB / 1.032 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.291, allocations: 14.75 kB / 1.032 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/1.291, allocations: 11.62 kB / 1.032 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/1.292, allocations: 212.4 kB / 1.032 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.292, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.292, allocations: 10.38 kB / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.292, allocations: 4 kB / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/1.293, allocations: 0.7268 MB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/1.294, allocations: 0.5629 MB / 1.033 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/1.294, allocations: 293.3 kB / 1.034 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/1.294, allocations: 102.2 kB / 1.034 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/1.294, allocations: 16.25 kB / 1.034 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/1.295, allocations: 173.8 kB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/1.295, allocations: 3.938 kB / 1.034 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0005097/1.295, allocations: 277.8 kB / 1.034 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/1.295, allocations: 140.5 kB / 1.034 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.296, allocations: 255.3 kB / 1.035 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.296, allocations: 35.58 kB / 1.035 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/1.296, allocations: 118 kB / 1.035 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.747e-05/1.296, allocations: 113.9 kB / 1.035 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/1.296, allocations: 6.812 kB / 1.035 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.296, allocations: 338.6 kB / 1.035 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.296, allocations: 75.66 kB / 1.035 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.296, allocations: 119.3 kB / 1.035 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/1.296, allocations: 108.1 kB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.297, allocations: 0 / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003991/1.297, allocations: 274 kB / 1.036 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.297, allocations: 7.938 kB / 1.036 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.297, allocations: 0 / 1.036 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.297, allocations: 4 kB / 1.036 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.297, allocations: 55.91 kB / 1.036 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.297, allocations: 8 kB / 1.036 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.297, allocations: 30.66 kB / 1.036 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/1.297, allocations: 12 kB / 1.036 GB, free: 5.168 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001123/1.298, allocations: 120.7 kB / 1.036 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/1.298, allocations: 31.61 kB / 1.036 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/1.298, allocations: 385.6 kB / 1.036 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.298, allocations: 4 kB / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.298, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.298, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/1.299, allocations: 338.2 kB / 1.037 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.299, allocations: 0 / 1.037 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/1.299, allocations: 63.03 kB / 1.037 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/1.299, allocations: 0 / 1.037 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.299, allocations: 11.86 kB / 1.037 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.299, allocations: 0 / 1.037 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.299, allocations: 8 kB / 1.037 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/1.299, allocations: 323.2 kB / 1.037 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.3, allocations: 154.3 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/1.3, allocations: 11.69 kB / 1.037 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.3, allocations: 18.73 kB / 1.037 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.3, allocations: 19.97 kB / 1.037 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.3, allocations: 23.67 kB / 1.037 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002166/1.3, allocations: 214 kB / 1.037 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.3, allocations: 0 / 1.037 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002967/1.3, allocations: 66.88 kB / 1.038 GB, free: 3.613 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001002/1.301, allocations: 369 kB / 1.038 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003966/1.302, allocations: 224.5 kB / 1.038 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.302, allocations: 0 / 1.038 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.302, allocations: 127.7 kB / 1.038 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.302, allocations: 36.17 kB / 1.038 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/1.303, allocations: 396.5 kB / 1.039 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/1.303, allocations: 0.7598 MB / 1.039 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003332/1.304, allocations: 154.8 kB / 1.04 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/1.304, allocations: 43.28 kB / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/1.304, allocations: 0 / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of Templates: time 0.006908/1.311, allocations: 2.965 MB / 1.042 GB, free: 14.79 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=432000.000000 File[5002]=8640000.000000 " Variables in the reference:time,limCeiHei.u,limCeiHei.ceiHei Variables in the result:conTim.canRepeatWeatherFile,conTim.lenWea,conTim.weaDatEndTim,conTim.weaDatStaTim,datRea.columns[10],datRea.columns[11],datRea.columns[12],datRea.columns[13],datRea.columns[14],datRea.columns[15],datRea.columns[16],datRea.columns[17],datRea.columns[18],datRea.columns[19],datRea.columns[1],datRea.columns[20],datRea.columns[21],datRea.columns[22],datRea.columns[23],datRea.columns[24],datRea.columns[25],datRea.columns[26],datRea.columns[27],datRea.columns[28],datRea.columns[29],datRea.columns[2],datRea.columns[3],datRea.columns[4],datRea.columns[5],datRea.columns[6],datRea.columns[7],datRea.columns[8],datRea.columns[9],datRea.extrapolation,datRea.nout,datRea.smoothness,datRea.tableOnFile,datRea.u_max,datRea.u_min,datRea.verboseExtrapolation,datRea.verboseRead,limCeiHei.ceiHei,limCeiHei.u,time