Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,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.WD400") translateModel(Buildings.BoundaryConditions.Validation.BESTEST.WD400,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.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001125/0.001125, allocations: 179.2 kB / 0.4902 GB, free: 2.316 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.572/1.572, allocations: 223.2 MB / 0.7992 GB, free: 15.64 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.001047/0.001047, allocations: 92.31 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 10.03 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.173, allocations: 1.753 GB / 2.983 GB, free: 211.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/5.173, allocations: 91.95 kB / 2.983 GB, free: 211.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.692/6.866, allocations: 409.3 MB / 3.382 GB, free: 264.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/6.866, allocations: 0 / 3.382 GB, free: 264.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006708/6.867, allocations: 170 kB / 3.382 GB, free: 264 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02377/6.89, allocations: 6.821 MB / 3.389 GB, free: 257.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/6.89, allocations: 8.562 kB / 3.389 GB, free: 257.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0426/6.933, allocations: 6.311 MB / 3.395 GB, free: 251.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/6.944, allocations: 3.691 MB / 3.399 GB, free: 248.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005238/6.944, allocations: 0.6023 MB / 3.399 GB, free: 248 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004071/6.948, allocations: 0.7884 MB / 3.4 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04314/6.992, allocations: 11.98 MB / 3.412 GB, free: 235.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/6.992, allocations: 4 kB / 3.412 GB, free: 235.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003579/6.995, allocations: 340 kB / 3.412 GB, free: 234.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/6.996, allocations: 203.8 kB / 3.412 GB, free: 234.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04898/7.045, allocations: 15.08 MB / 3.427 GB, free: 219.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07326/7.118, allocations: 28.81 MB / 3.455 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03069/7.149, allocations: 9.816 MB / 3.465 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/7.15, allocations: 0.6751 MB / 3.466 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01911/7.169, allocations: 5.952 MB / 3.471 GB, free: 174.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=689): time 1.29e-05/7.169, allocations: 0 / 3.471 GB, free: 174.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=689): time 0.07392/7.243, allocations: 14.91 MB / 3.486 GB, free: 159.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/7.244, allocations: 462.8 kB / 3.486 GB, free: 158.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008241/7.252, allocations: 2.772 MB / 3.489 GB, free: 156 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003373/7.255, allocations: 141.7 kB / 3.489 GB, free: 155.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/7.258, allocations: 2.621 MB / 3.492 GB, free: 153.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004978/7.263, allocations: 2.244 MB / 3.494 GB, free: 150.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/7.265, allocations: 116 kB / 3.494 GB, free: 150.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004626/7.266, allocations: 0.5187 MB / 3.495 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01859/7.284, allocations: 4.349 MB / 3.499 GB, free: 145.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/7.301, allocations: 4.916 MB / 3.504 GB, free: 140.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/7.318, allocations: 4.519 MB / 3.508 GB, free: 136.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/7.318, allocations: 4 kB / 3.508 GB, free: 136.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0411/7.359, allocations: 10.54 MB / 3.518 GB, free: 125.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/7.359, allocations: 4 kB / 3.518 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/7.359, allocations: 4 kB / 3.518 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/7.36, allocations: 193.7 kB / 3.519 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/7.375, allocations: 1.989 MB / 3.52 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/7.378, allocations: 3.08 MB / 3.523 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/7.391, allocations: 1.118 MB / 3.525 GB, free: 119 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/7.394, allocations: 307.6 kB / 3.525 GB, free: 118.7 MB / 1.167 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 () * Number of clocked 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.008093/7.402, allocations: 1.27 MB / 3.526 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003151/7.405, allocations: 0.49 MB / 3.527 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04988/7.455, allocations: 12.43 MB / 3.539 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-05/7.455, allocations: 76 kB / 3.539 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-05/7.455, allocations: 0 / 3.539 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002767/7.456, allocations: 31.88 kB / 3.539 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06833/7.524, allocations: 20.9 MB / 3.559 GB, free: 83.25 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-05/7.524, allocations: 3.953 kB / 3.559 GB, free: 83.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01373/7.538, allocations: 1.876 MB / 3.561 GB, free: 81.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/7.539, allocations: 185.5 kB / 3.561 GB, free: 81.18 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002847/7.542, allocations: 219.7 kB / 3.561 GB, free: 80.96 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/7.545, allocations: 3.119 MB / 3.565 GB, free: 77.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.545, allocations: 3.984 kB / 3.565 GB, free: 77.56 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04028/7.585, allocations: 10.53 MB / 3.575 GB, free: 66.93 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006315/7.592, allocations: 1.901 MB / 3.577 GB, free: 65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003701/7.596, allocations: 128 kB / 3.577 GB, free: 64.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/7.607, allocations: 0.7949 MB / 3.578 GB, free: 64.08 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/7.609, allocations: 413.5 kB / 3.578 GB, free: 63.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002252/7.611, allocations: 275.7 kB / 3.578 GB, free: 63.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007231/7.618, allocations: 2.362 MB / 3.581 GB, free: 61.03 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.22e-07/7.618, allocations: 0 / 3.581 GB, free: 61.03 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01283/7.631, allocations: 2.047 MB / 3.583 GB, free: 58.98 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: 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) * Number of clocked states: 0 () * 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.005491/7.637, allocations: 1.361 MB / 3.584 GB, free: 57.82 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0381/7.675, allocations: 10.56 MB / 3.594 GB, free: 47.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/7.675, allocations: 0 / 3.594 GB, free: 47.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02178/7.697, allocations: 5.72 MB / 3.6 GB, free: 41.44 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00894/7.706, allocations: 0.7251 MB / 3.6 GB, free: 40.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04836/7.754, allocations: 17.33 MB / 3.617 GB, free: 23.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006615/7.761, allocations: 3.437 MB / 3.621 GB, free: 19.86 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01784/7.779, allocations: 1.736 MB / 3.622 GB, free: 18.12 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006616/7.785, allocations: 0.698 MB / 3.623 GB, free: 17.42 MB / 1.167 GB Notification: Performance of SimCode: time 2.224e-06/7.785, allocations: 0 / 3.623 GB, free: 17.42 MB / 1.167 GB Notification: Performance of Templates: time 0.8278/8.613, allocations: 94.71 MB / 3.716 GB, free: 305.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & ./Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_Validation_BESTEST_WD400.csv","../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD400.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches