Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009836, allocations: 115.2 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 281.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 71.89 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500): time 0.01316/0.3232, allocations: 17.92 MB / 0.7854 GB, free: 9.684 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4473/0.7706, allocations: 160.1 MB / 0.9417 GB, free: 12.53 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004091/0.7747, allocations: 83.53 kB / 0.9418 GB, free: 12.51 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.7767, allocations: 0.5608 MB / 0.9423 GB, free: 12.2 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.7817, allocations: 1.396 MB / 0.9437 GB, free: 11.74 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006322/0.788, allocations: 3.657 MB / 0.9473 GB, free: 11.61 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00963/0.7977, allocations: 8.827 MB / 0.9559 GB, free: 9.418 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009439/0.8071, allocations: 8.774 MB / 0.9645 GB, free: 4.695 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.8137, allocations: 4.203 MB / 0.9686 GB, free: 2.355 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00621/0.8199, allocations: 5.132 MB / 0.9736 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.8219, allocations: 0.8423 MB / 0.9744 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.8248, allocations: 1.308 MB / 0.9757 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.8266, allocations: 2.392 MB / 0.978 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.832, allocations: 5.157 MB / 0.9831 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.8474, allocations: 16.2 MB / 0.9989 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.8475, allocations: 4 kB / 0.9989 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8475, allocations: 0 / 0.9989 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0009066/0.8484, allocations: 0 / 0.9989 GB, free: 11.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2977 * Number of variables: 2977 Notification: Performance of Generate backend data structure: time 0.03395/0.8824, allocations: 10.5 MB / 1.009 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8825, allocations: 8.031 kB / 1.009 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04971/0.9322, allocations: 7.231 MB / 1.016 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.9423, allocations: 4.791 MB / 1.021 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007154/0.943, allocations: 0.8391 MB / 1.022 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/0.9465, allocations: 1.094 MB / 1.023 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/0.9928, allocations: 14.55 MB / 1.037 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/0.9931, allocations: 3.938 kB / 1.037 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/0.996, allocations: 471.9 kB / 1.037 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.9962, allocations: 280 kB / 1.038 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0526/1.049, allocations: 16.18 MB / 1.053 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08453/1.133, allocations: 35.17 MB / 1.088 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03412/1.168, allocations: 9.797 MB / 1.097 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01707/1.185, allocations: 5.185 MB / 1.102 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/1.186, allocations: 0.6797 MB / 1.103 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01962/1.206, allocations: 5.935 MB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=689): time 1.291e-05/1.206, allocations: 0 / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=689): time 0.05675/1.263, allocations: 14.86 MB / 1.123 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/1.263, allocations: 356.2 kB / 1.124 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005957/1.269, allocations: 3.245 MB / 1.127 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001848/1.271, allocations: 137.7 kB / 1.127 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003282/1.274, allocations: 3.644 MB / 1.131 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003359/1.277, allocations: 2.239 MB / 1.133 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00583/1.283, allocations: 1.234 MB / 1.134 GB, free: 488 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/1.283, allocations: 301.1 kB / 1.134 GB, free: 184 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01601/1.299, allocations: 4.382 MB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/1.316, allocations: 4.917 MB / 1.143 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03173/1.348, allocations: 9.159 MB / 1.152 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-05/1.348, allocations: 7.938 kB / 1.152 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03955/1.387, allocations: 10.63 MB / 1.163 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/1.387, allocations: 11.94 kB / 1.163 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.387, allocations: 4 kB / 1.163 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.389, allocations: 185.8 kB / 1.163 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/1.402, allocations: 1.993 MB / 1.165 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/1.406, allocations: 3.046 MB / 1.168 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.417, allocations: 1.128 MB / 1.169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/1.418, allocations: 319.6 kB / 1.169 GB, free: 11.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 16 (weaDatTDryBulTDewPoinOpa.conTim.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTimMin.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTim.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDatHHorIR.conTim.canRepeatWeatherFile,weaDatHHorIR.conTimMin.canRepeatWeatherFile,weaDatHHorIR.conTim.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (774): * Single equations (assignments): 772 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00555/1.424, allocations: 1.566 MB / 1.171 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/1.426, allocations: 0.5015 MB / 1.171 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0446/1.471, allocations: 12.34 MB / 1.183 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/1.471, allocations: 75.98 kB / 1.183 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.471, allocations: 0 / 1.183 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/1.471, allocations: 39.8 kB / 1.183 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3336/1.805, allocations: 21.94 MB / 1.205 GB, free: 333.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/1.805, allocations: 3.75 kB / 1.205 GB, free: 333.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01228/1.817, allocations: 1.845 MB / 1.207 GB, free: 333.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.818, allocations: 183.3 kB / 1.207 GB, free: 333.2 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001282/1.819, allocations: 220 kB / 1.207 GB, free: 333.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/1.822, allocations: 3.092 MB / 1.21 GB, free: 330.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.822, allocations: 7.391 kB / 1.21 GB, free: 330.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04848/1.871, allocations: 17.74 MB / 1.227 GB, free: 323.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004202/1.875, allocations: 1.764 MB / 1.229 GB, free: 322.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002105/1.877, allocations: 162 kB / 1.229 GB, free: 322.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009668/1.887, allocations: 0.7588 MB / 1.23 GB, free: 322.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/1.888, allocations: 423 kB / 1.23 GB, free: 322.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/1.89, allocations: 272.3 kB / 1.231 GB, free: 322.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003633/1.893, allocations: 2.418 MB / 1.233 GB, free: 321.3 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.893, allocations: 0 / 1.233 GB, free: 321.3 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006134/1.9, allocations: 2.358 MB / 1.235 GB, free: 320.5 MB / 0.7917 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00221/1.902, allocations: 0.7847 MB / 1.236 GB, free: 320.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.03103/1.933, allocations: 10.6 MB / 1.246 GB, free: 312.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.933, allocations: 4 kB / 1.246 GB, free: 312.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01613/1.949, allocations: 5.709 MB / 1.252 GB, free: 307.6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.954, allocations: 0.8748 MB / 1.253 GB, free: 306.9 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/1.989, allocations: 24.98 MB / 1.277 GB, free: 282.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.992, allocations: 4.15 MB / 1.281 GB, free: 278.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0114/2.003, allocations: 1.736 MB / 1.283 GB, free: 276.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003475/2.006, allocations: 0.7097 MB / 1.284 GB, free: 276.1 MB / 0.7917 GB Notification: Performance of SimCode: time 7.22e-07/2.006, allocations: 3.938 kB / 1.284 GB, free: 276.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.133/2.14, allocations: 93.2 MB / 1.375 GB, free: 183.1 MB / 0.7917 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)