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.499/1.499, allocations: 249.5 MB / 257 MB, free: 6.898 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.001091/0.001091, allocations: 181.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001027/0.001027, allocations: 96.48 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.531e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2239, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.684/6.908, allocations: 2.19 GB / 3.075 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/6.909, allocations: 86.89 kB / 3.075 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06275/6.971, allocations: 27.49 MB / 3.102 GB, free: 167 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/6.971, allocations: 0 / 3.102 GB, free: 167 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.002e-05/6.971, allocations: 19.94 kB / 3.102 GB, free: 167 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.001314/6.973, allocations: 0.9162 MB / 3.103 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/6.973, allocations: 8.031 kB / 3.103 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/6.973, allocations: 98.86 kB / 3.103 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/6.974, allocations: 0.5646 MB / 3.103 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/6.974, allocations: 20 kB / 3.103 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/6.974, allocations: 35.98 kB / 3.104 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009571/6.975, allocations: 0.8606 MB / 3.104 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/6.976, allocations: 0.5955 MB / 3.105 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/6.976, allocations: 0 / 3.105 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/6.976, allocations: 4 kB / 3.105 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/6.976, allocations: 16 kB / 3.105 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/6.978, allocations: 2.216 MB / 3.107 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/6.979, allocations: 0.5546 MB / 3.108 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/6.979, allocations: 199.9 kB / 3.108 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/6.979, allocations: 32.14 kB / 3.108 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/6.98, allocations: 319.7 kB / 3.108 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 1.994e-06/6.98, allocations: 0 / 3.108 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.0007572/6.98, allocations: 0.4963 MB / 3.109 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/6.98, allocations: 294.8 kB / 3.109 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/6.981, allocations: 0.4928 MB / 3.109 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/6.981, allocations: 25.7 kB / 3.109 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/6.981, allocations: 333.8 kB / 3.11 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/6.981, allocations: 194.2 kB / 3.11 GB, free: 160 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/6.981, allocations: 0 / 3.11 GB, free: 160 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/6.981, allocations: 373.2 kB / 3.11 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/6.982, allocations: 156.3 kB / 3.11 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/6.982, allocations: 277.4 kB / 3.111 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/6.982, allocations: 201.1 kB / 3.111 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/6.982, allocations: 3.938 kB / 3.111 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006159/6.983, allocations: 0.4982 MB / 3.111 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/6.983, allocations: 4 kB / 3.111 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/6.983, allocations: 0 / 3.111 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/6.983, allocations: 4 kB / 3.111 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/6.983, allocations: 119.6 kB / 3.112 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/6.983, allocations: 4 kB / 3.112 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/6.984, allocations: 59.5 kB / 3.112 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/6.984, allocations: 23.42 kB / 3.112 GB, free: 158.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.000115/6.984, allocations: 117.7 kB / 3.112 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/6.984, allocations: 79.12 kB / 3.112 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/6.985, allocations: 0.6996 MB / 3.112 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/6.985, allocations: 8 kB / 3.113 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/6.985, allocations: 4 kB / 3.113 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/6.985, allocations: 3.984 kB / 3.113 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/6.986, allocations: 0.8301 MB / 3.113 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/6.986, allocations: 0 / 3.113 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/6.986, allocations: 119.1 kB / 3.113 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/6.986, allocations: 4 kB / 3.113 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/6.986, allocations: 15.73 kB / 3.113 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/6.986, allocations: 0 / 3.113 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/6.986, allocations: 0 / 3.113 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/6.987, allocations: 0.6108 MB / 3.114 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/6.987, allocations: 259 kB / 3.114 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/6.987, allocations: 4 kB / 3.114 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/6.988, allocations: 43.95 kB / 3.114 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/6.988, allocations: 59.91 kB / 3.114 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/6.988, allocations: 23 kB / 3.114 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003441/6.988, allocations: 399.3 kB / 3.115 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.988, allocations: 4 kB / 3.115 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006714/6.989, allocations: 226.5 kB / 3.115 GB, free: 155.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.001006/6.99, allocations: 0.5046 MB / 3.116 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005313/6.99, allocations: 435.3 kB / 3.116 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/6.99, allocations: 0 / 3.116 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/6.991, allocations: 260.6 kB / 3.116 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/6.992, allocations: 206.4 kB / 3.116 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/6.993, allocations: 0.9506 MB / 3.117 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/6.993, allocations: 0.9749 MB / 3.118 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006025/6.994, allocations: 229.3 kB / 3.118 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/6.994, allocations: 90.45 kB / 3.119 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.1e-07/6.994, allocations: 4 kB / 3.119 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01509/7.009, allocations: 9.785 MB / 3.128 GB, free: 142.8 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