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.23/2.23, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001091/0.001091, allocations: 184 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009171/0.0009172, allocations: 99.94 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.286e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3775, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.456/5.833, allocations: 1.753 GB / 2.972 GB, free: 60.17 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/5.833, allocations: 84.8 kB / 2.972 GB, free: 60.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.92/7.754, allocations: 408.7 MB / 3.371 GB, free: 125.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.218e-06/7.754, allocations: 0 / 3.371 GB, free: 125.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000976/7.755, allocations: 167.9 kB / 3.371 GB, free: 125.5 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.02788/7.783, allocations: 6.335 MB / 3.378 GB, free: 119.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/7.783, allocations: 12.03 kB / 3.378 GB, free: 119.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04473/7.828, allocations: 6.298 MB / 3.384 GB, free: 112.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/7.842, allocations: 3.672 MB / 3.387 GB, free: 109 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008009/7.842, allocations: 0.6023 MB / 3.388 GB, free: 108.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/7.848, allocations: 0.7812 MB / 3.389 GB, free: 107.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04057/7.888, allocations: 9.94 MB / 3.398 GB, free: 97.56 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005017/7.889, allocations: 7.953 kB / 3.398 GB, free: 97.55 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004769/7.894, allocations: 336 kB / 3.399 GB, free: 97.22 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/7.894, allocations: 208 kB / 3.399 GB, free: 97.02 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/7.926, allocations: 11.09 MB / 3.41 GB, free: 85.92 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09168/8.018, allocations: 28.78 MB / 3.438 GB, free: 56.96 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/8.038, allocations: 7.515 MB / 3.445 GB, free: 49.42 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01136/8.049, allocations: 3.973 MB / 3.449 GB, free: 45.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/8.052, allocations: 0.6822 MB / 3.45 GB, free: 44.66 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01466/8.066, allocations: 4.723 MB / 3.454 GB, free: 39.87 MB / 1.167 GB Notification: Performance of pre-optimization done (n=689): time 1.8e-05/8.066, allocations: 3.938 kB / 3.454 GB, free: 39.86 MB / 1.167 GB Notification: Performance of matching and sorting (n=689): time 0.02962/8.096, allocations: 7.728 MB / 3.462 GB, free: 32.05 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/8.096, allocations: 467 kB / 3.462 GB, free: 31.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007813/8.104, allocations: 2.729 MB / 3.465 GB, free: 28.78 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003137/8.107, allocations: 137.7 kB / 3.465 GB, free: 28.64 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003224/8.11, allocations: 2.629 MB / 3.468 GB, free: 25.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004921/8.115, allocations: 2.236 MB / 3.47 GB, free: 23.71 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002916/8.118, allocations: 120 kB / 3.47 GB, free: 23.59 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000702/8.119, allocations: 0.5226 MB / 3.47 GB, free: 23.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008999/8.128, allocations: 3.117 MB / 3.474 GB, free: 19.94 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/8.138, allocations: 3.686 MB / 3.477 GB, free: 16.15 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009743/8.148, allocations: 3.308 MB / 3.48 GB, free: 12.81 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.015e-05/8.148, allocations: 0 / 3.48 GB, free: 12.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03746/8.186, allocations: 8.082 MB / 3.488 GB, free: 4.652 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/8.186, allocations: 8 kB / 3.488 GB, free: 4.645 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/8.186, allocations: 4 kB / 3.488 GB, free: 4.641 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/8.187, allocations: 185.8 kB / 3.488 GB, free: 4.453 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/8.203, allocations: 1.989 MB / 3.49 GB, free: 2.461 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007/9.21, allocations: 3.038 MB / 3.493 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/9.224, allocations: 1.118 MB / 3.494 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00342/9.227, allocations: 309.3 kB / 3.495 GB, free: 290.4 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 () * 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.002711/9.23, allocations: 432.1 kB / 3.495 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002313/9.232, allocations: 496.2 kB / 3.496 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03285/9.265, allocations: 9.974 MB / 3.505 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/9.265, allocations: 70.12 kB / 3.505 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/9.265, allocations: 3.969 kB / 3.505 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001917/9.266, allocations: 35.73 kB / 3.505 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06304/9.329, allocations: 18.48 MB / 3.524 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-05/9.329, allocations: 0 / 3.524 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0151/9.344, allocations: 1.874 MB / 3.525 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/9.345, allocations: 185.7 kB / 3.526 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003292/9.349, allocations: 221.3 kB / 3.526 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/9.352, allocations: 3.092 MB / 3.529 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/9.352, allocations: 1.031 kB / 3.529 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03677/9.389, allocations: 8.068 MB / 3.537 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009074/9.398, allocations: 1.9 MB / 3.538 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004812/9.403, allocations: 119.4 kB / 3.539 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0135/9.417, allocations: 0.803 MB / 3.539 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003113/9.42, allocations: 420 kB / 3.54 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003348/9.423, allocations: 271.1 kB / 3.54 GB, free: 285 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008825/9.432, allocations: 2.322 MB / 3.542 GB, free: 284.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.22e-07/9.432, allocations: 0 / 3.542 GB, free: 284.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01864/9.451, allocations: 2.029 MB / 3.544 GB, free: 284.6 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) * 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.008431/9.459, allocations: 1.341 MB / 3.546 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02748/9.487, allocations: 8.102 MB / 3.554 GB, free: 284.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/9.487, allocations: 0 / 3.554 GB, free: 284.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01459/9.501, allocations: 4.485 MB / 3.558 GB, free: 283.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009623/9.511, allocations: 0.7282 MB / 3.559 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03971/9.551, allocations: 10.68 MB / 3.569 GB, free: 281.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006745/9.558, allocations: 3.435 MB / 3.572 GB, free: 280.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0191/9.577, allocations: 1.727 MB / 3.574 GB, free: 280.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008085/9.585, allocations: 0.7015 MB / 3.575 GB, free: 280.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.253e-06/9.585, allocations: 0 / 3.575 GB, free: 280.7 MB / 1.167 GB Notification: Performance of Templates: time 0.176/9.761, allocations: 96.75 MB / 3.669 GB, free: 259.7 MB / 1.167 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