Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00481/0.00481, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001338/0.001338, allocations: 202.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2815, allocations: 162.2 MB / 1.242 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant): time 2.297/2.578, allocations: 1.16 GB / 2.402 GB, free: 14.69 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 1.124/3.703, allocations: 195.8 MB / 2.593 GB, free: 67.78 MB / 1.826 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03625/3.739, allocations: 1.026 MB / 2.594 GB, free: 67.78 MB / 1.826 GB Notification: Performance of NFTyping.typeComponents: time 0.02694/3.766, allocations: 11.49 MB / 2.605 GB, free: 67.76 MB / 1.826 GB Notification: Performance of NFTyping.typeBindings: time 0.07911/3.845, allocations: 32.09 MB / 2.637 GB, free: 66.69 MB / 1.826 GB Notification: Performance of NFTyping.typeClassSections: time 0.04082/3.886, allocations: 20.49 MB / 2.657 GB, free: 66.23 MB / 1.826 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0903/3.976, allocations: 76.91 MB / 2.732 GB, free: 65.9 MB / 1.826 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03856/4.015, allocations: 23.06 MB / 2.754 GB, free: 63.2 MB / 1.826 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04899/4.064, allocations: 24.32 MB / 2.778 GB, free: 54.54 MB / 1.826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02671/4.091, allocations: 16.69 MB / 2.794 GB, free: 45.47 MB / 1.826 GB Notification: Performance of NFPackage.collectConstants: time 0.008223/4.099, allocations: 3.338 MB / 2.798 GB, free: 45.47 MB / 1.826 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0443/4.143, allocations: 19.85 MB / 2.817 GB, free: 29.85 MB / 1.826 GB Notification: Performance of NFScalarize.scalarize: time 0.009663/4.153, allocations: 7.722 MB / 2.825 GB, free: 22.4 MB / 1.826 GB Notification: Performance of NFVerifyModel.verify: time 0.024/4.177, allocations: 14.88 MB / 2.839 GB, free: 7.758 MB / 1.826 GB Notification: Performance of NFConvertDAE.convert: time 0.08597/4.263, allocations: 53.94 MB / 2.892 GB, free: 3.512 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/4.263, allocations: 0 / 2.892 GB, free: 3.512 MB / 1.873 GB Notification: Performance of FrontEnd: time 1.954e-06/4.263, allocations: 0 / 2.892 GB, free: 3.512 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001048/4.264, allocations: 4 kB / 2.892 GB, free: 3.508 MB / 1.873 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3528 * Number of variables: 3528 Notification: Performance of Generate backend data structure: time 0.07138/4.335, allocations: 27.45 MB / 2.919 GB, free: 8.266 MB / 1.904 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/4.335, allocations: 8.031 kB / 2.919 GB, free: 8.258 MB / 1.904 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005458/4.341, allocations: 1.773 MB / 2.92 GB, free: 6.48 MB / 1.904 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06584/4.407, allocations: 9.332 MB / 2.93 GB, free: 13.15 MB / 1.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06445/4.471, allocations: 31.9 MB / 2.961 GB, free: 14.21 MB / 1.951 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/4.473, allocations: 1.215 MB / 2.962 GB, free: 12.97 MB / 1.951 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005098/4.478, allocations: 1.464 MB / 2.963 GB, free: 11.52 MB / 1.951 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05742/4.535, allocations: 20.28 MB / 2.983 GB, free: 7.023 MB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004397/4.536, allocations: 18.23 kB / 2.983 GB, free: 7.012 MB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003486/4.539, allocations: 0.5664 MB / 2.984 GB, free: 6.453 MB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005504/4.54, allocations: 0.5185 MB / 2.984 GB, free: 5.934 MB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06235/4.602, allocations: 20.47 MB / 3.004 GB, free: 1.523 MB / 1.982 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.1573/4.759, allocations: 95.88 MB / 3.098 GB, free: 15.38 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03133/4.791, allocations: 13.68 MB / 3.111 GB, free: 1.688 MB / 2.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01986/4.811, allocations: 8.1 MB / 3.119 GB, free: 9.578 MB / 2.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06073/4.871, allocations: 34.38 MB / 3.153 GB, free: 6.348 MB / 2.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02083/4.892, allocations: 8.174 MB / 3.161 GB, free: 14.14 MB / 2.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006257/4.899, allocations: 0.9127 MB / 3.162 GB, free: 13.22 MB / 2.154 GB Notification: Performance of pre-optimization done (n=881): time 1.551e-05/4.899, allocations: 0 / 3.162 GB, free: 13.22 MB / 2.154 GB Notification: Performance of matching and sorting (n=905): time 0.1318/5.03, allocations: 42.45 MB / 3.203 GB, free: 2.637 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003271/5.031, allocations: 0.534 MB / 3.203 GB, free: 2 MB / 2.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03668/5.067, allocations: 19.05 MB / 3.222 GB, free: 15.07 MB / 2.217 GB Notification: Performance of collectPreVariables (initialization): time 0.002405/5.07, allocations: 256.5 kB / 3.222 GB, free: 14.82 MB / 2.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.01121/5.081, allocations: 9.659 MB / 3.232 GB, free: 5.18 MB / 2.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.004987/5.086, allocations: 3.243 MB / 3.235 GB, free: 1.98 MB / 2.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007756/5.094, allocations: 2.99 MB / 3.238 GB, free: 14.98 MB / 2.232 GB Notification: Performance of setup shared object (initialization): time 0.0001242/5.094, allocations: 305.1 kB / 3.238 GB, free: 14.68 MB / 2.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02471/5.119, allocations: 8.79 MB / 3.247 GB, free: 5.883 MB / 2.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02806/5.147, allocations: 12.01 MB / 3.258 GB, free: 8.727 MB / 2.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2543/5.401, allocations: 70.89 MB / 3.328 GB, free: 1.082 MB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-05/5.401, allocations: 20 kB / 3.328 GB, free: 1.062 MB / 2.311 GB Notification: Performance of matching and sorting (n=1714) (initialization): time 0.6257/6.027, allocations: 24.56 MB / 3.352 GB, free: 1.213 GB / 2.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/6.027, allocations: 281.2 kB / 3.352 GB, free: 1.213 GB / 2.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/6.027, allocations: 66.52 kB / 3.352 GB, free: 1.213 GB / 2.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/6.035, allocations: 2.586 MB / 3.355 GB, free: 1.213 GB / 2.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02107/6.056, allocations: 3.679 MB / 3.358 GB, free: 1.213 GB / 2.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/6.078, allocations: 26.18 MB / 3.384 GB, free: 1.193 GB / 2.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02342/6.102, allocations: 1.525 MB / 3.385 GB, free: 1.192 GB / 2.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002991/6.105, allocations: 0.7116 MB / 3.386 GB, free: 1.192 GB / 2.326 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03136/6.136, allocations: 13.03 MB / 3.399 GB, free: 1.186 GB / 2.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02422/6.16, allocations: 11.68 MB / 3.41 GB, free: 1.18 GB / 2.326 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2266/6.387, allocations: 69.14 MB / 3.478 GB, free: 1.156 GB / 2.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.952e-05/6.387, allocations: 20.14 kB / 3.478 GB, free: 1.156 GB / 2.326 GB Notification: Performance of matching and sorting (n=1714) (initialization_lambda0): time 0.06104/6.448, allocations: 24.05 MB / 3.501 GB, free: 1.148 GB / 2.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/6.448, allocations: 273.6 kB / 3.501 GB, free: 1.148 GB / 2.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/6.448, allocations: 67.75 kB / 3.501 GB, free: 1.148 GB / 2.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007079/6.455, allocations: 2.564 MB / 3.504 GB, free: 1.147 GB / 2.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/6.475, allocations: 3.649 MB / 3.507 GB, free: 1.146 GB / 2.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/6.503, allocations: 33.38 MB / 3.54 GB, free: 1.12 GB / 2.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02299/6.526, allocations: 1.59 MB / 3.542 GB, free: 1.12 GB / 2.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/6.529, allocations: 0.7086 MB / 3.542 GB, free: 1.119 GB / 2.326 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * Number of states: 0 () * Number of discrete variables: 82 ($PRE.fraLoa.tab.nextTimeEvent,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1542): * Single equations (assignments): 1502 * Array equations: 10 * Algorithm blocks: 9 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 15 systems {(1,2), (1,2), (4,31), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004542/6.533, allocations: 1.198 MB / 3.543 GB, free: 1.119 GB / 2.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005575/6.539, allocations: 1.933 MB / 3.545 GB, free: 1.119 GB / 2.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04862/6.588, allocations: 17.94 MB / 3.563 GB, free: 1.103 GB / 2.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/6.588, allocations: 95.98 kB / 3.563 GB, free: 1.102 GB / 2.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/6.588, allocations: 4 kB / 3.563 GB, free: 1.102 GB / 2.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03966/6.627, allocations: 14.68 MB / 3.577 GB, free: 1.088 GB / 2.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08675/6.714, allocations: 46.38 MB / 3.623 GB, free: 1.042 GB / 2.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.132e-05/6.714, allocations: 31.97 kB / 3.623 GB, free: 1.042 GB / 2.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01304/6.727, allocations: 2.196 MB / 3.625 GB, free: 1.04 GB / 2.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/6.731, allocations: 1.066 MB / 3.626 GB, free: 1.039 GB / 2.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0018/6.733, allocations: 331.8 kB / 3.626 GB, free: 1.039 GB / 2.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006851/6.739, allocations: 9.95 MB / 3.636 GB, free: 1.029 GB / 2.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/6.739, allocations: 35.81 kB / 3.636 GB, free: 1.029 GB / 2.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06043/6.8, allocations: 27.06 MB / 3.662 GB, free: 1.003 GB / 2.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009187/6.809, allocations: 4.332 MB / 3.667 GB, free: 0.9986 GB / 2.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005296/6.814, allocations: 232 kB / 3.667 GB, free: 0.9983 GB / 2.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01699/6.831, allocations: 1.035 MB / 3.668 GB, free: 0.9973 GB / 2.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/6.833, allocations: 0.6501 MB / 3.668 GB, free: 0.9967 GB / 2.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001705/6.835, allocations: 0.4956 MB / 3.669 GB, free: 0.9962 GB / 2.326 GB Notification: Performance of sorting global known variables: time 0.02207/6.857, allocations: 12.87 MB / 3.681 GB, free: 0.9837 GB / 2.326 GB Notification: Performance of sort global known variables: time 4.81e-07/6.857, allocations: 0 / 3.681 GB, free: 0.9837 GB / 2.326 GB Notification: Performance of remove unused functions: time 0.02816/6.885, allocations: 8.798 MB / 3.69 GB, free: 0.9754 GB / 2.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 48 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.motSpe.y,T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.motSpe.y,con.val.valEqu.actPos.y,con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEquLin.vol.dynBal.U,loa.con.val.valEquLin.actPos.y,loa.con.jun.vol.dynBal.U,loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEquLin.vol.dynBal.U,loa1.con.val.valEquLin.actPos.y,loa1.con.jun.vol.dynBal.U,resT2.conPID.I.y) * Number of discrete variables: 44 (resT2.cha.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,con.ctl.cha.y,isEna.y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y) * Number of discrete states: 6 (fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,con.ctl.cha.u,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,resT2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (927): * Single equations (assignments): 880 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * 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): 9 systems {(1,2), (1,2), (4,33), (1,2), (1,2), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06227/6.947, allocations: 30.7 MB / 3.72 GB, free: 0.9456 GB / 2.326 GB Notification: Performance of simCode: created initialization part: time 0.07912/7.027, allocations: 33.24 MB / 3.752 GB, free: 0.9128 GB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/7.027, allocations: 10.66 kB / 3.752 GB, free: 0.9128 GB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.01913/7.046, allocations: 8.471 MB / 3.761 GB, free: 0.9043 GB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04825/7.094, allocations: 10.51 MB / 3.771 GB, free: 0.8945 GB / 2.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3118/7.406, allocations: 165.1 MB / 3.932 GB, free: 0.7301 GB / 2.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008463/7.414, allocations: 9.08 MB / 3.941 GB, free: 0.7212 GB / 2.326 GB Notification: Performance of simCode: alias equations: time 0.02224/7.437, allocations: 5.066 MB / 3.946 GB, free: 0.7164 GB / 2.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01522/7.452, allocations: 9.848 MB / 3.956 GB, free: 0.7067 GB / 2.326 GB Notification: Performance of SimCode: time 9.82e-07/7.452, allocations: 0 / 3.956 GB, free: 0.7067 GB / 2.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6681/8.12, allocations: 0.5712 GB / 4.527 GB, free: 140.7 MB / 2.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 81.84/89.96, allocations: 12.3 kB / 4.527 GB, free: 140.7 MB / 2.326 GB (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[521]=86400.000000 File[27]=1002.240000 Error: Could not read variable T2Set.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable T2Set.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant_res.csv failed! " Variables in the reference:time,T2Set.y,con.T2Sup.T,con.T2Ret.T,T1Sup.T,T1Ret.T,con.val.y_actual,pum.m_flow,con.pum.m_flow,con.res3.m_flow,mPum_flow_nominal,con.mPum_flow_nominal,fraLoa.y[1],fraLoa.y[2],loa.yLoa_actual,loa1.yLoa_actual,loa.con.val.y_actual,loa1.con.val.y_actual Variables in the result:time,T1Ret.T,T1Sup.T,con.T2Ret.T,con.T2Sup.T,con.ctl.conPID.I.y