Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7549/0.7549, allocations: 143.4 MB / 159.2 MB, free: 4.867 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.001157/0.001157, allocations: 184.5 kB / 191.9 MB, free: 5.715 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.391/1.391, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.0009632/0.0009631, allocations: 111.2 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 282.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 81.29 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400): time 0.0138/0.3141, allocations: 17.91 MB / 0.7854 GB, free: 9.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4727/0.7868, allocations: 160.1 MB / 0.9417 GB, free: 12.51 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/0.7913, allocations: 75.16 kB / 0.9418 GB, free: 12.49 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.7941, allocations: 0.5573 MB / 0.9423 GB, free: 12.18 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006426/0.8006, allocations: 1.405 MB / 0.9437 GB, free: 11.72 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008423/0.809, allocations: 3.661 MB / 0.9473 GB, free: 11.59 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.8207, allocations: 8.828 MB / 0.9559 GB, free: 9.398 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.8336, allocations: 8.779 MB / 0.9645 GB, free: 4.656 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008377/0.842, allocations: 4.195 MB / 0.9686 GB, free: 2.324 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007417/0.8495, allocations: 5.127 MB / 0.9736 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00336/0.8529, allocations: 0.8426 MB / 0.9744 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.8573, allocations: 1.314 MB / 0.9757 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.8611, allocations: 2.388 MB / 0.978 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.007853/0.8689, allocations: 5.157 MB / 0.9831 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.8854, allocations: 16.2 MB / 0.9989 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8854, allocations: 0 / 0.9989 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8855, allocations: 0 / 0.9989 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0007061/0.8862, allocations: 0 / 0.9989 GB, free: 11.36 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.02706/0.9133, allocations: 10.51 MB / 1.009 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.9133, allocations: 8.031 kB / 1.009 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05105/0.9644, allocations: 7.227 MB / 1.016 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.974, allocations: 4.786 MB / 1.021 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/0.9747, allocations: 0.843 MB / 1.022 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003129/0.9778, allocations: 1.094 MB / 1.023 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04468/1.022, allocations: 14.54 MB / 1.037 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/1.023, allocations: 3.938 kB / 1.037 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003041/1.026, allocations: 479.9 kB / 1.037 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/1.026, allocations: 280 kB / 1.038 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05377/1.08, allocations: 16.16 MB / 1.053 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07887/1.159, allocations: 35.17 MB / 1.088 GB, free: 160 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03286/1.192, allocations: 9.793 MB / 1.097 GB, free: 6.332 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01621/1.208, allocations: 5.185 MB / 1.102 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.209, allocations: 0.6821 MB / 1.103 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01842/1.228, allocations: 5.938 MB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=689): time 9.779e-06/1.228, allocations: 3.938 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=689): time 0.05492/1.283, allocations: 14.85 MB / 1.123 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/1.283, allocations: 356.2 kB / 1.124 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.288, allocations: 3.241 MB / 1.127 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/1.29, allocations: 141.7 kB / 1.127 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002878/1.292, allocations: 3.642 MB / 1.131 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/1.296, allocations: 2.24 MB / 1.133 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002873/1.299, allocations: 1.238 MB / 1.134 GB, free: 472 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.508e-05/1.299, allocations: 309.1 kB / 1.134 GB, free: 160 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0155/1.314, allocations: 4.369 MB / 1.139 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/1.331, allocations: 4.917 MB / 1.143 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03291/1.364, allocations: 9.171 MB / 1.152 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-05/1.364, allocations: 0 / 1.152 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03982/1.404, allocations: 10.63 MB / 1.163 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.404, allocations: 4 kB / 1.163 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/1.404, allocations: 4 kB / 1.163 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/1.405, allocations: 193.7 kB / 1.163 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/1.419, allocations: 1.993 MB / 1.165 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/1.423, allocations: 3.048 MB / 1.168 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/1.434, allocations: 1.128 MB / 1.169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/1.436, allocations: 323.6 kB / 1.169 GB, free: 11.81 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.005447/1.441, allocations: 1.566 MB / 1.171 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/1.443, allocations: 0.5015 MB / 1.171 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04304/1.486, allocations: 12.35 MB / 1.183 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/1.486, allocations: 68 kB / 1.183 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.486, allocations: 3.938 kB / 1.183 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/1.486, allocations: 39.86 kB / 1.183 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5423/2.029, allocations: 21.93 MB / 1.205 GB, free: 331.6 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/2.029, allocations: 0 / 1.205 GB, free: 331.6 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01222/2.041, allocations: 1.85 MB / 1.207 GB, free: 331.5 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/2.042, allocations: 184.5 kB / 1.207 GB, free: 331.5 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/2.043, allocations: 217.4 kB / 1.207 GB, free: 331.4 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/2.046, allocations: 3.094 MB / 1.21 GB, free: 328.6 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.046, allocations: 0 / 1.21 GB, free: 328.6 MB / 0.7918 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04726/2.094, allocations: 17.75 MB / 1.227 GB, free: 321.7 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004455/2.098, allocations: 1.762 MB / 1.229 GB, free: 320.9 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/2.1, allocations: 162.3 kB / 1.229 GB, free: 320.7 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008946/2.109, allocations: 0.7615 MB / 1.23 GB, free: 320.6 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/2.11, allocations: 420.3 kB / 1.23 GB, free: 320.6 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007018/2.11, allocations: 277.1 kB / 1.231 GB, free: 320.5 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.002928/2.113, allocations: 2.425 MB / 1.233 GB, free: 319.6 MB / 0.7918 GB Notification: Performance of sort global known variables: time 1.1e-07/2.113, allocations: 0 / 1.233 GB, free: 319.6 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.004762/2.118, allocations: 2.351 MB / 1.235 GB, free: 318.8 MB / 0.7918 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.001742/2.12, allocations: 0.7897 MB / 1.236 GB, free: 318.5 MB / 0.7918 GB Notification: Performance of simCode: created initialization part: time 0.02956/2.149, allocations: 10.6 MB / 1.246 GB, free: 310.8 MB / 0.7918 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.149, allocations: 0 / 1.246 GB, free: 310.8 MB / 0.7918 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/2.167, allocations: 5.709 MB / 1.252 GB, free: 305.8 MB / 0.7918 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006216/2.174, allocations: 0.8646 MB / 1.253 GB, free: 305.1 MB / 0.7918 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/2.21, allocations: 24.99 MB / 1.277 GB, free: 280.7 MB / 0.7918 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/2.213, allocations: 4.154 MB / 1.281 GB, free: 276.6 MB / 0.7918 GB Notification: Performance of simCode: alias equations: time 0.01232/2.225, allocations: 1.73 MB / 1.283 GB, free: 274.8 MB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004094/2.23, allocations: 0.7097 MB / 1.284 GB, free: 274.1 MB / 0.7918 GB Notification: Performance of SimCode: time 1.032e-06/2.23, allocations: 0 / 1.284 GB, free: 274.1 MB / 0.7918 GB Notification: Performance of Templates: time 0.1271/2.357, allocations: 93.2 MB / 1.375 GB, free: 181.1 MB / 0.7918 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)