Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.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.Validation.BESTEST.WD300,tolerance=1e-06,outputFormat="mat",numberOfIntervals=70080,variableFilter="time|azi000til00.H|azi000til90.H|azi270til90.H|azi180til90.H|azi090til90.H|azi315til90.H|azi045til90.H|azi270til30.H|azi000til30.H|azi090til30.H|azi000til00.HPer|azi000til90.HPer|azi270til90.HPer|azi180til90.HPer|azi090til90.HPer|azi315til90.HPer|azi045til90.HPer|azi270til30.HPer|azi000til30.HPer|azi090til30.HPer|weaBusHHorIR.relHum|weaBusHHorIR.nOpa|weaBusHHorIR.nTot|toDryAir.XiDry|toDryAir.XiTotalAir|weaBusHHorIR.TBlaSky|weaBusHHorIR.TDewPoi|weaBusHHorIR.TWetBul|weaBusTDryBulTDewPoiOpa.TBlaSky|weaBusHHorIR.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300") translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD300,tolerance=1e-06,outputFormat="mat",numberOfIntervals=70080,variableFilter="time|azi000til00.H|azi000til90.H|azi270til90.H|azi180til90.H|azi090til90.H|azi315til90.H|azi045til90.H|azi270til30.H|azi000til30.H|azi090til30.H|azi000til00.HPer|azi000til90.HPer|azi270til90.HPer|azi180til90.HPer|azi090til90.HPer|azi315til90.HPer|azi045til90.HPer|azi270til30.HPer|azi000til30.HPer|azi090til30.HPer|weaBusHHorIR.relHum|weaBusHHorIR.nOpa|weaBusHHorIR.nTot|toDryAir.XiDry|toDryAir.XiTotalAir|weaBusHHorIR.TBlaSky|weaBusHHorIR.TDewPoi|weaBusHHorIR.TWetBul|weaBusTDryBulTDewPoiOpa.TBlaSky|weaBusHHorIR.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 390.5 MB / 398 MB, free: 10.94 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.001328/0.001328, allocations: 176.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.0009328/0.0009329, allocations: 87.56 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.396e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.58/5.888, allocations: 1.753 GB / 2.965 GB, free: 111.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/5.888, allocations: 87.95 kB / 2.965 GB, free: 111.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.73/7.618, allocations: 406.2 MB / 3.362 GB, free: 163.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.374e-06/7.618, allocations: 0 / 3.362 GB, free: 163.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007386/7.618, allocations: 167.9 kB / 3.362 GB, free: 163.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02958/7.648, allocations: 6.327 MB / 3.368 GB, free: 157.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/7.648, allocations: 12.03 kB / 3.368 GB, free: 157.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04097/7.689, allocations: 6.31 MB / 3.374 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/7.7, allocations: 3.668 MB / 3.378 GB, free: 147.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/7.7, allocations: 268 kB / 3.378 GB, free: 146.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00422/7.704, allocations: 472 kB / 3.379 GB, free: 146.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03427/7.739, allocations: 10.64 MB / 3.389 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/7.774, allocations: 8.794 MB / 3.397 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/7.775, allocations: 0 / 3.397 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004338/7.779, allocations: 4 kB / 3.397 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/7.779, allocations: 200 kB / 3.398 GB, free: 126.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08583/7.865, allocations: 27.34 MB / 3.424 GB, free: 99.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/7.881, allocations: 7.13 MB / 3.431 GB, free: 92.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/7.892, allocations: 3.781 MB / 3.435 GB, free: 88.22 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/7.894, allocations: 0.6782 MB / 3.436 GB, free: 87.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01391/7.908, allocations: 4.527 MB / 3.44 GB, free: 82.86 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 1.817e-05/7.908, allocations: 7.984 kB / 3.44 GB, free: 82.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.05204/7.96, allocations: 12.93 MB / 3.453 GB, free: 69.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/7.96, allocations: 467 kB / 3.453 GB, free: 69.28 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/7.966, allocations: 2.084 MB / 3.455 GB, free: 67.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002771/7.969, allocations: 29.69 kB / 3.455 GB, free: 67.15 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002677/7.971, allocations: 2.652 MB / 3.458 GB, free: 64.46 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004432/7.976, allocations: 2.147 MB / 3.46 GB, free: 62.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002623/7.979, allocations: 3.938 kB / 3.46 GB, free: 62.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000643/7.979, allocations: 0.5265 MB / 3.46 GB, free: 61.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007658/7.987, allocations: 3.003 MB / 3.463 GB, free: 58.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008637/7.996, allocations: 3.53 MB / 3.467 GB, free: 55.11 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03385/8.029, allocations: 8.782 MB / 3.475 GB, free: 46.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.264e-05/8.03, allocations: 4 kB / 3.475 GB, free: 46.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05211/8.082, allocations: 13.23 MB / 3.488 GB, free: 32.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/8.082, allocations: 8 kB / 3.488 GB, free: 32.97 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/8.082, allocations: 4 kB / 3.488 GB, free: 32.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/8.083, allocations: 193.7 kB / 3.489 GB, free: 32.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01407/8.097, allocations: 1.985 MB / 3.49 GB, free: 30.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/8.1, allocations: 2.911 MB / 3.493 GB, free: 27.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/8.114, allocations: 0.9397 MB / 3.494 GB, free: 26.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003213/8.117, allocations: 315.6 kB / 3.495 GB, free: 26.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005561/8.123, allocations: 187.8 kB / 3.495 GB, free: 26.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004473/8.127, allocations: 462.3 kB / 3.495 GB, free: 25.73 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06343/8.191, allocations: 14.99 MB / 3.51 GB, free: 10.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-05/8.191, allocations: 68 kB / 3.51 GB, free: 10.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.914e-05/8.191, allocations: 11.95 kB / 3.51 GB, free: 10.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002774/8.191, allocations: 35.86 kB / 3.51 GB, free: 10.53 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9814/9.172, allocations: 22.67 MB / 3.532 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-05/9.173, allocations: 4.844 kB / 3.532 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01504/9.188, allocations: 1.874 MB / 3.534 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/9.189, allocations: 181.5 kB / 3.534 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/9.192, allocations: 143.3 kB / 3.534 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/9.195, allocations: 2.965 MB / 3.537 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/9.195, allocations: 4.844 kB / 3.537 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06262/9.258, allocations: 13.23 MB / 3.55 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007333/9.265, allocations: 1.833 MB / 3.552 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004131/9.27, allocations: 8.531 kB / 3.552 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01253/9.282, allocations: 0.6788 MB / 3.552 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002872/9.285, allocations: 421.8 kB / 3.553 GB, free: 288.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003035/9.288, allocations: 272.7 kB / 3.553 GB, free: 288.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006677/9.295, allocations: 1.772 MB / 3.555 GB, free: 288.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.7e-07/9.295, allocations: 0 / 3.555 GB, free: 288.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01455/9.309, allocations: 1.861 MB / 3.557 GB, free: 288 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006231/9.316, allocations: 1.305 MB / 3.558 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02264/9.338, allocations: 7.78 MB / 3.566 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/9.338, allocations: 0 / 3.566 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/9.352, allocations: 4.336 MB / 3.57 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008098/9.36, allocations: 0.5776 MB / 3.57 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/9.394, allocations: 10.27 MB / 3.58 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007077/9.402, allocations: 3.435 MB / 3.584 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02203/9.424, allocations: 1.681 MB / 3.585 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01251/9.436, allocations: 0.6744 MB / 3.586 GB, free: 284 MB / 1.151 GB Notification: Performance of SimCode: time 3.757e-06/9.436, allocations: 4 kB / 3.586 GB, free: 284 MB / 1.151 GB Notification: Performance of Templates: time 0.1409/9.577, allocations: 84.8 MB / 3.669 GB, free: 265 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.sim & ./Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_Validation_BESTEST_WD300.csv","../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD300.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches