Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.3 MB / 261.9 MB, free: 5.922 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.001023/0.001023, allocations: 182.6 kB / 321.3 MB, free: 14.63 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.663/1.663, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.000899/0.000899, allocations: 83.8 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.214e-05/5.232e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.515/6.764, allocations: 2.19 GB / 3.081 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/6.765, allocations: 83.95 kB / 3.081 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06579/6.831, allocations: 28.64 MB / 3.109 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/6.831, allocations: 0 / 3.109 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001359/6.831, allocations: 20 kB / 3.109 GB, free: 150.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001652/6.832, allocations: 0.9252 MB / 3.11 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/6.832, allocations: 8.031 kB / 3.11 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/6.833, allocations: 94.88 kB / 3.11 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/6.834, allocations: 0.5686 MB / 3.111 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/6.834, allocations: 45.31 kB / 3.111 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/6.834, allocations: 56 kB / 3.111 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/6.835, allocations: 0.6815 MB / 3.112 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/6.835, allocations: 3.938 kB / 3.112 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/6.835, allocations: 28 kB / 3.112 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/6.835, allocations: 16 kB / 3.112 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/6.836, allocations: 0.9026 MB / 3.113 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/6.839, allocations: 2.338 MB / 3.115 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/6.84, allocations: 0.6011 MB / 3.115 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/6.84, allocations: 219.3 kB / 3.116 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/6.84, allocations: 24.61 kB / 3.116 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/6.841, allocations: 347.2 kB / 3.116 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 2.906e-06/6.841, allocations: 0 / 3.116 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.0008465/6.842, allocations: 0.5293 MB / 3.117 GB, free: 143 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/6.842, allocations: 295.2 kB / 3.117 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/6.843, allocations: 0.5659 MB / 3.117 GB, free: 142 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/6.843, allocations: 37.7 kB / 3.117 GB, free: 142 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/6.843, allocations: 324.7 kB / 3.118 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/6.843, allocations: 209.1 kB / 3.118 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/6.843, allocations: 19.94 kB / 3.118 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/6.843, allocations: 374.8 kB / 3.118 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/6.843, allocations: 161.1 kB / 3.118 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/6.844, allocations: 285.3 kB / 3.119 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/6.844, allocations: 211.1 kB / 3.119 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/6.844, allocations: 0 / 3.119 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007164/6.845, allocations: 0.5373 MB / 3.119 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.845, allocations: 4 kB / 3.119 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/6.845, allocations: 4 kB / 3.119 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/6.845, allocations: 4 kB / 3.119 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/6.845, allocations: 119.8 kB / 3.12 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/6.845, allocations: 4 kB / 3.12 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/6.846, allocations: 83.39 kB / 3.12 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/6.846, allocations: 27.98 kB / 3.12 GB, free: 139.6 MB / 0.8698 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.0001239/6.846, allocations: 136.9 kB / 3.12 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/6.846, allocations: 71.16 kB / 3.12 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/6.847, allocations: 0.7532 MB / 3.121 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/6.847, allocations: 8 kB / 3.121 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/6.847, allocations: 8 kB / 3.121 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/6.847, allocations: 3.984 kB / 3.121 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009032/6.848, allocations: 0.9287 MB / 3.122 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.848, allocations: 0 / 3.122 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/6.848, allocations: 115.9 kB / 3.122 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/6.848, allocations: 8 kB / 3.122 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/6.849, allocations: 19.98 kB / 3.122 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/6.849, allocations: 7.938 kB / 3.122 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/6.849, allocations: 3.953 kB / 3.122 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/6.849, allocations: 0.6352 MB / 3.122 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/6.85, allocations: 275.8 kB / 3.123 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/6.85, allocations: 16 kB / 3.123 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/6.85, allocations: 59.84 kB / 3.123 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/6.851, allocations: 44.72 kB / 3.123 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/6.851, allocations: 27.98 kB / 3.123 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006141/6.851, allocations: 475.1 kB / 3.123 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.851, allocations: 3.938 kB / 3.123 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009063/6.852, allocations: 243.4 kB / 3.123 GB, free: 135.7 MB / 0.8698 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.001448/6.854, allocations: 0.5268 MB / 3.124 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008508/6.854, allocations: 466.9 kB / 3.124 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/6.854, allocations: 0 / 3.124 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/6.855, allocations: 276.4 kB / 3.125 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/6.856, allocations: 224.3 kB / 3.125 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/6.859, allocations: 0.9953 MB / 3.126 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/6.859, allocations: 0.9679 MB / 3.127 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008125/6.86, allocations: 241.5 kB / 3.127 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/6.86, allocations: 91.39 kB / 3.127 GB, free: 132 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/6.86, allocations: 0 / 3.127 GB, free: 132 MB / 0.8698 GB Notification: Performance of Templates: time 0.01874/6.879, allocations: 10.55 MB / 3.137 GB, free: 121.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches