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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.736/1.736, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.0008762/0.0008762, allocations: 186 kB / 490.8 MB, free: 1.859 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.079/1.079, allocations: 221.3 MB / 0.7863 GB, free: 13.61 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.0008204/0.0008203, allocations: 104.4 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.551e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.371/2.539, allocations: 1.753 GB / 2.964 GB, free: 93.41 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/2.54, allocations: 88.97 kB / 2.964 GB, free: 93.37 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.15/3.69, allocations: 410.3 MB / 3.365 GB, free: 148 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000378/3.69, allocations: 167.9 kB / 3.365 GB, free: 147.8 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.01429/3.705, allocations: 6.584 MB / 3.372 GB, free: 141.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/3.705, allocations: 12.03 kB / 3.372 GB, free: 141.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04094/3.746, allocations: 7.066 MB / 3.378 GB, free: 134 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/3.753, allocations: 3.695 MB / 3.382 GB, free: 130.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/3.753, allocations: 271.9 kB / 3.382 GB, free: 130 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/3.755, allocations: 468 kB / 3.383 GB, free: 129.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01939/3.774, allocations: 10.65 MB / 3.393 GB, free: 118.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/3.793, allocations: 8.791 MB / 3.402 GB, free: 110 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/3.793, allocations: 0 / 3.402 GB, free: 110 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/3.795, allocations: 4 kB / 3.402 GB, free: 110 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/3.795, allocations: 204 kB / 3.402 GB, free: 109.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05736/3.852, allocations: 31.26 MB / 3.433 GB, free: 77.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/3.864, allocations: 6.801 MB / 3.439 GB, free: 70.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006039/3.87, allocations: 3.786 MB / 3.443 GB, free: 66.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/3.871, allocations: 0.6821 MB / 3.444 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007847/3.879, allocations: 4.502 MB / 3.448 GB, free: 61.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 9.568e-06/3.879, allocations: 4 kB / 3.448 GB, free: 61.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.01867/3.898, allocations: 8.148 MB / 3.456 GB, free: 53.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/3.898, allocations: 463 kB / 3.456 GB, free: 52.67 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/3.902, allocations: 2.096 MB / 3.458 GB, free: 50.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/3.903, allocations: 25.7 kB / 3.458 GB, free: 50.53 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/3.904, allocations: 2.203 MB / 3.461 GB, free: 48.29 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/3.906, allocations: 2.139 MB / 3.463 GB, free: 46.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008936/3.907, allocations: 0 / 3.463 GB, free: 46.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000244/3.907, allocations: 0.5265 MB / 3.463 GB, free: 45.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/3.912, allocations: 3.011 MB / 3.466 GB, free: 42.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/3.917, allocations: 3.533 MB / 3.47 GB, free: 38.94 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00793/3.925, allocations: 3.943 MB / 3.473 GB, free: 34.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/3.925, allocations: 0 / 3.473 GB, free: 34.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01787/3.943, allocations: 8.482 MB / 3.482 GB, free: 26.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/3.943, allocations: 4 kB / 3.482 GB, free: 26.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/3.943, allocations: 4 kB / 3.482 GB, free: 26.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/3.944, allocations: 189.8 kB / 3.482 GB, free: 26.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/3.957, allocations: 2.028 MB / 3.484 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/3.96, allocations: 2.918 MB / 3.487 GB, free: 21.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009672/3.969, allocations: 0.975 MB / 3.488 GB, free: 20.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/3.971, allocations: 307.6 kB / 3.488 GB, free: 19.74 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.001882/3.973, allocations: 195.7 kB / 3.488 GB, free: 19.54 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/3.974, allocations: 450.4 kB / 3.489 GB, free: 19.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02497/3.999, allocations: 10.55 MB / 3.499 GB, free: 8.461 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/3.999, allocations: 68 kB / 3.499 GB, free: 8.395 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/3.999, allocations: 4 kB / 3.499 GB, free: 8.391 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-05/3.999, allocations: 35.86 kB / 3.499 GB, free: 8.355 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3146/4.314, allocations: 18.12 MB / 3.517 GB, free: 405.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/4.314, allocations: 0 / 3.517 GB, free: 405.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/4.326, allocations: 1.906 MB / 3.518 GB, free: 405.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/4.327, allocations: 190.5 kB / 3.519 GB, free: 405.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/4.329, allocations: 141.6 kB / 3.519 GB, free: 405.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/4.331, allocations: 2.967 MB / 3.522 GB, free: 403.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/4.331, allocations: 2.5 kB / 3.522 GB, free: 403.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01854/4.35, allocations: 8.468 MB / 3.53 GB, free: 402.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/4.354, allocations: 1.825 MB / 3.532 GB, free: 402.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0019/4.355, allocations: 10.53 kB / 3.532 GB, free: 402.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009276/4.365, allocations: 0.7205 MB / 3.532 GB, free: 402.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008303/4.366, allocations: 366.5 kB / 3.533 GB, free: 402.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/4.367, allocations: 274.7 kB / 3.533 GB, free: 402.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003106/4.37, allocations: 1.783 MB / 3.535 GB, free: 402.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005844/4.376, allocations: 1.854 MB / 3.537 GB, free: 402.5 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.002457/4.378, allocations: 1.28 MB / 3.538 GB, free: 402.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01229/4.39, allocations: 7.829 MB / 3.546 GB, free: 402.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/4.39, allocations: 3.969 kB / 3.546 GB, free: 402.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00667/4.397, allocations: 4.363 MB / 3.55 GB, free: 401.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/4.401, allocations: 0.5612 MB / 3.55 GB, free: 401.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/4.425, allocations: 10.58 MB / 3.561 GB, free: 399.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009089/4.434, allocations: 4.346 MB / 3.565 GB, free: 398.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.62e-07/4.434, allocations: 3.438 kB / 3.565 GB, free: 398.8 MB / 1.151 GB Notification: Performance of Templates: time 0.1466/4.581, allocations: 115.8 MB / 3.678 GB, free: 366.6 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