Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json 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/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009347, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009158/0.000916, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.3 MB / 0.6653 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004898, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.8195, allocations: 142.3 MB / 0.9535 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03085/0.8504, allocations: 29.58 MB / 0.9824 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009751/0.8602, allocations: 5.971 MB / 0.9882 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.8618, allocations: 34.94 kB / 0.9883 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.8634, allocations: 408 kB / 0.9886 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.8673, allocations: 1.123 MB / 0.9897 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.87, allocations: 0.8468 MB / 0.9906 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.873, allocations: 1.35 MB / 0.9919 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.8742, allocations: 0.6024 MB / 0.9925 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.8764, allocations: 0.7551 MB / 0.9932 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.8772, allocations: 430 kB / 0.9936 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.8773, allocations: 32 kB / 0.9937 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.8793, allocations: 0.589 MB / 0.9942 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.8794, allocations: 143.3 kB / 0.9944 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.8798, allocations: 221.1 kB / 0.9946 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.8813, allocations: 1.116 MB / 0.9957 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8813, allocations: 0 / 0.9957 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8813, allocations: 0 / 0.9957 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.8813, allocations: 0 / 0.9957 GB, free: 4.848 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002461/0.8838, allocations: 1.164 MB / 0.9968 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.8838, allocations: 8.031 kB / 0.9968 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.8865, allocations: 0.5137 MB / 0.9973 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.888, allocations: 0.8189 MB / 0.9981 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.8881, allocations: 45.31 kB / 0.9982 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.8882, allocations: 59.94 kB / 0.9982 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.8901, allocations: 0.8592 MB / 0.9991 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.8902, allocations: 7.938 kB / 0.9991 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.8902, allocations: 24 kB / 0.9991 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.8903, allocations: 19.95 kB / 0.9991 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.8927, allocations: 0.856 MB / 0.9999 GB, free: 340 kB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.8994, allocations: 4.684 MB / 1.005 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.9033, allocations: 0.9643 MB / 1.005 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.9045, allocations: 0.9454 MB / 1.006 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.9045, allocations: 34.56 kB / 1.006 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.9045, allocations: 0 / 1.006 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.003488/0.908, allocations: 1.134 MB / 1.008 GB, free: 7.945 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.9081, allocations: 63.2 kB / 1.008 GB, free: 7.871 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.9091, allocations: 0.7238 MB / 1.008 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.9092, allocations: 33.7 kB / 1.008 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.9095, allocations: 443.9 kB / 1.009 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.9097, allocations: 122.2 kB / 1.009 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.9097, allocations: 8 kB / 1.009 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9098, allocations: 326 kB / 1.009 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.9109, allocations: 360.8 kB / 1.01 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.912, allocations: 0.5253 MB / 1.01 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.9131, allocations: 383.4 kB / 1.01 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9131, allocations: 0 / 1.01 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002442/0.9156, allocations: 0.9294 MB / 1.011 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007166/0.9163, allocations: 1.659 MB / 1.013 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9163, allocations: 4 kB / 1.013 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.9163, allocations: 8 kB / 1.013 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.9173, allocations: 215.7 kB / 1.013 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.9173, allocations: 15.92 kB / 1.013 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9183, allocations: 159.4 kB / 1.013 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.9184, allocations: 27.98 kB / 1.013 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.9184, allocations: 4 kB / 1.013 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002281/0.9207, allocations: 0.8308 MB / 1.014 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9207, allocations: 4 kB / 1.014 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.9208, allocations: 7.938 kB / 1.014 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.9217, allocations: 212.3 kB / 1.014 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.9217, allocations: 12.02 kB / 1.014 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9227, allocations: 155.5 kB / 1.015 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.9228, allocations: 31.97 kB / 1.015 GB, free: 496 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000471/0.9233, allocations: 312.9 kB / 1.015 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.9234, allocations: 82.92 kB / 1.015 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.9262, allocations: 1.012 MB / 1.016 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.9263, allocations: 7.984 kB / 1.016 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9263, allocations: 4 kB / 1.016 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.9263, allocations: 0 / 1.016 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.9303, allocations: 1.914 MB / 1.018 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9303, allocations: 0 / 1.018 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.9312, allocations: 175.9 kB / 1.018 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.9312, allocations: 4 kB / 1.018 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.9313, allocations: 19.92 kB / 1.018 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.9313, allocations: 3.984 kB / 1.018 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9313, allocations: 4 kB / 1.018 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.935, allocations: 1.546 MB / 1.02 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.9354, allocations: 239.8 kB / 1.02 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.9355, allocations: 8 kB / 1.02 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.9363, allocations: 119.9 kB / 1.02 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.9364, allocations: 27.95 kB / 1.02 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.9365, allocations: 19.98 kB / 1.02 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000658/0.9372, allocations: 0.4912 MB / 1.02 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9372, allocations: 0 / 1.02 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001274/0.9384, allocations: 439 kB / 1.021 GB, free: 9.941 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006032/0.9391, allocations: 313.9 kB / 1.021 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.9426, allocations: 1.299 MB / 1.022 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9426, allocations: 0 / 1.022 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.9438, allocations: 443.7 kB / 1.023 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9453, allocations: 328.5 kB / 1.023 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.9521, allocations: 2.379 MB / 1.025 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.9527, allocations: 0.9867 MB / 1.026 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001062/0.9538, allocations: 202.3 kB / 1.027 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.954, allocations: 71.41 kB / 1.027 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of SimCode: time 1.372e-06/0.954, allocations: 4 kB / 1.027 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.02662/0.9806, allocations: 14.76 MB / 1.041 GB, free: 5.367 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches