Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.InjectionTwoWayConstantReturn,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstantReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstantReturn",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.01057/0.01057, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001639/0.001638, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.57/2.57, allocations: 469.4 MB / 0.7422 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.064 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.986/0.9875, allocations: 159.1 MB / 1.22 GB, free: 2.227 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 3.197/4.185, allocations: 1.16 GB / 2.38 GB, free: 107.4 MB / 1.67 GB Notification: Performance of NFInst.instExpressions: time 0.2725/4.457, allocations: 196.3 MB / 2.572 GB, free: 51.2 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05852/4.516, allocations: 1.021 MB / 2.573 GB, free: 50.54 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03672/4.552, allocations: 11.86 MB / 2.584 GB, free: 42.7 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.09498/4.648, allocations: 33.85 MB / 2.617 GB, free: 14.25 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04752/4.695, allocations: 20.66 MB / 2.637 GB, free: 11.39 MB / 1.686 GB Notification: Performance of NFFlatten.flatten: time 0.121/4.816, allocations: 76.6 MB / 2.712 GB, free: 0.9336 MB / 1.748 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0592/4.875, allocations: 23.12 MB / 2.735 GB, free: 9.934 MB / 1.779 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06031/4.936, allocations: 23.63 MB / 2.758 GB, free: 3.492 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03456/4.97, allocations: 16.99 MB / 2.774 GB, free: 3.598 MB / 1.811 GB Notification: Performance of NFPackage.collectConstants: time 0.01212/4.983, allocations: 3.352 MB / 2.778 GB, free: 252 kB / 1.811 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05291/5.035, allocations: 19.96 MB / 2.797 GB, free: 13.95 MB / 1.842 GB Notification: Performance of NFScalarize.scalarize: time 0.01639/5.052, allocations: 7.809 MB / 2.805 GB, free: 6.238 MB / 1.842 GB Notification: Performance of NFVerifyModel.verify: time 0.03576/5.088, allocations: 14.94 MB / 2.819 GB, free: 7.363 MB / 1.857 GB Notification: Performance of NFConvertDAE.convert: time 0.1022/5.19, allocations: 54.16 MB / 2.872 GB, free: 2.609 MB / 1.904 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/5.19, allocations: 0 / 2.872 GB, free: 2.609 MB / 1.904 GB Notification: Performance of FrontEnd: time 1.944e-06/5.19, allocations: 4 kB / 2.872 GB, free: 2.605 MB / 1.904 GB Notification: Performance of Transformations before backend: time 0.001683/5.192, allocations: 0 / 2.872 GB, free: 2.605 MB / 1.904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3543 * Number of variables: 3543 Notification: Performance of Generate backend data structure: time 0.08508/5.277, allocations: 27.62 MB / 2.899 GB, free: 6.887 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/5.277, allocations: 12.03 kB / 2.899 GB, free: 6.875 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007459/5.284, allocations: 1.777 MB / 2.901 GB, free: 5.094 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06572/5.35, allocations: 9.44 MB / 2.91 GB, free: 11.66 MB / 1.951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.458/6.808, allocations: 31.96 MB / 2.942 GB, free: 0.9276 GB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001964/6.81, allocations: 1.223 MB / 2.943 GB, free: 0.9275 GB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006916/6.817, allocations: 1.46 MB / 2.944 GB, free: 0.927 GB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06584/6.883, allocations: 20.37 MB / 2.964 GB, free: 0.9189 GB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/6.883, allocations: 17.5 kB / 2.964 GB, free: 0.9189 GB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003994/6.887, allocations: 0.5685 MB / 2.965 GB, free: 0.9185 GB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004047/6.887, allocations: 0.5449 MB / 2.965 GB, free: 0.9184 GB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06055/6.948, allocations: 20.65 MB / 2.985 GB, free: 0.9109 GB / 1.967 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.1688/7.117, allocations: 95.12 MB / 3.078 GB, free: 0.8394 GB / 1.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0314/7.148, allocations: 13.84 MB / 3.092 GB, free: 0.8311 GB / 1.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02064/7.169, allocations: 8.17 MB / 3.1 GB, free: 0.8231 GB / 1.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0912/7.26, allocations: 40.35 MB / 3.139 GB, free: 0.783 GB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02517/7.285, allocations: 8.103 MB / 3.147 GB, free: 0.7751 GB / 1.967 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01209/7.298, allocations: 0.9189 MB / 3.148 GB, free: 0.7745 GB / 1.967 GB Notification: Performance of pre-optimization done (n=891): time 5.393e-05/7.298, allocations: 0 / 3.148 GB, free: 0.7745 GB / 1.967 GB Notification: Performance of matching and sorting (n=915): time 0.1599/7.458, allocations: 42.08 MB / 3.189 GB, free: 0.7339 GB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/7.458, allocations: 0.5275 MB / 3.189 GB, free: 0.7333 GB / 1.967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05589/7.514, allocations: 19.38 MB / 3.208 GB, free: 0.7146 GB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.003801/7.518, allocations: 253.7 kB / 3.209 GB, free: 0.7143 GB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01394/7.532, allocations: 9.787 MB / 3.218 GB, free: 0.7048 GB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.006135/7.538, allocations: 3.289 MB / 3.221 GB, free: 0.7016 GB / 1.967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01792/7.556, allocations: 3.036 MB / 3.224 GB, free: 0.6986 GB / 1.967 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/7.556, allocations: 305.1 kB / 3.225 GB, free: 0.6983 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02566/7.581, allocations: 8.849 MB / 3.233 GB, free: 0.6898 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0294/7.611, allocations: 12.11 MB / 3.245 GB, free: 0.677 GB / 1.967 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2515/7.862, allocations: 71.67 MB / 3.315 GB, free: 0.6061 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/7.863, allocations: 20 kB / 3.315 GB, free: 0.6061 GB / 1.967 GB Notification: Performance of matching and sorting (n=1739) (initialization): time 0.08038/7.943, allocations: 24.76 MB / 3.339 GB, free: 0.5818 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/7.943, allocations: 279.3 kB / 3.34 GB, free: 0.5815 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/7.943, allocations: 68 kB / 3.34 GB, free: 0.5814 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007924/7.951, allocations: 2.598 MB / 3.342 GB, free: 0.5788 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02165/7.973, allocations: 3.768 MB / 3.346 GB, free: 0.5752 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/7.995, allocations: 26.22 MB / 3.371 GB, free: 0.548 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03157/8.027, allocations: 1.601 MB / 3.373 GB, free: 0.5464 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004705/8.031, allocations: 0.7222 MB / 3.374 GB, free: 0.5457 GB / 1.967 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.03777/8.069, allocations: 13.13 MB / 3.387 GB, free: 0.5329 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02747/8.097, allocations: 11.77 MB / 3.398 GB, free: 0.5202 GB / 1.967 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2451/8.342, allocations: 69.9 MB / 3.466 GB, free: 461.7 MB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000124/8.342, allocations: 16 kB / 3.466 GB, free: 461.7 MB / 1.967 GB Notification: Performance of matching and sorting (n=1739) (initialization_lambda0): time 0.08794/8.43, allocations: 24.24 MB / 3.49 GB, free: 437.3 MB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/8.43, allocations: 271.3 kB / 3.49 GB, free: 437 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/8.43, allocations: 75.83 kB / 3.49 GB, free: 436.9 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00781/8.438, allocations: 2.597 MB / 3.493 GB, free: 434.3 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02195/8.46, allocations: 3.729 MB / 3.497 GB, free: 430.5 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03346/8.494, allocations: 33.34 MB / 3.529 GB, free: 395.4 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03185/8.526, allocations: 1.657 MB / 3.531 GB, free: 393.8 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004912/8.531, allocations: 0.7026 MB / 3.531 GB, free: 393.1 MB / 1.967 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: 303 * Number of states: 0 () * Number of discrete variables: 82 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$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 (1567): * Single equations (assignments): 1527 * 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,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008751/8.539, allocations: 1.229 MB / 3.533 GB, free: 391.8 MB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01001/8.549, allocations: 1.952 MB / 3.534 GB, free: 389.8 MB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06707/8.617, allocations: 17.83 MB / 3.552 GB, free: 372 MB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001808/8.617, allocations: 99.98 kB / 3.552 GB, free: 371.9 MB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.036e-05/8.617, allocations: 4 kB / 3.552 GB, free: 371.9 MB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05019/8.667, allocations: 14.55 MB / 3.566 GB, free: 357.2 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1201/8.787, allocations: 46.05 MB / 3.611 GB, free: 310.8 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001645/8.787, allocations: 20 kB / 3.611 GB, free: 310.8 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01435/8.802, allocations: 2.169 MB / 3.613 GB, free: 308.6 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/8.806, allocations: 1.077 MB / 3.614 GB, free: 307.5 MB / 1.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003697/8.809, allocations: 339.8 kB / 3.615 GB, free: 307.2 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/8.818, allocations: 9.984 MB / 3.624 GB, free: 296.5 MB / 1.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/8.818, allocations: 35.81 kB / 3.624 GB, free: 296.5 MB / 1.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07937/8.898, allocations: 26.78 MB / 3.651 GB, free: 269.2 MB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01564/8.913, allocations: 4.373 MB / 3.655 GB, free: 264.8 MB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009214/8.923, allocations: 247.9 kB / 3.655 GB, free: 264.6 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02207/8.945, allocations: 1.02 MB / 3.656 GB, free: 263.6 MB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003296/8.948, allocations: 0.6538 MB / 3.657 GB, free: 262.9 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00364/8.952, allocations: 0.4957 MB / 3.657 GB, free: 262.4 MB / 1.967 GB Notification: Performance of sorting global known variables: time 0.0362/8.988, allocations: 13.1 MB / 3.67 GB, free: 249.4 MB / 1.967 GB Notification: Performance of sort global known variables: time 8.42e-07/8.988, allocations: 0 / 3.67 GB, free: 249.4 MB / 1.967 GB Notification: Performance of remove unused functions: time 0.05881/9.047, allocations: 8.874 MB / 3.679 GB, free: 240.5 MB / 1.967 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 53 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],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.filter.s[1],loa.con.val.valEquLin.filter.s[2],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.filter.s[1],loa1.con.val.valEquLin.filter.s[2],loa1.con.jun.vol.dynBal.U,resT2.conPID.I.y) * Number of discrete variables: 44 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.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,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (937): * Single equations (assignments): 890 * 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,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0925/9.139, allocations: 30.44 MB / 3.708 GB, free: 210 MB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.1016/9.241, allocations: 33.36 MB / 3.741 GB, free: 176.3 MB / 1.967 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-05/9.241, allocations: 10.66 kB / 3.741 GB, free: 176.3 MB / 1.967 GB Notification: Performance of simCode: created simulation system equations: time 0.02355/9.265, allocations: 8.405 MB / 3.749 GB, free: 167.7 MB / 1.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06852/9.333, allocations: 10.48 MB / 3.759 GB, free: 157.7 MB / 1.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.348/10.68, allocations: 166.3 MB / 3.922 GB, free: 0.8735 GB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02208/10.7, allocations: 9.159 MB / 3.931 GB, free: 0.8724 GB / 1.967 GB Notification: Performance of simCode: alias equations: time 0.03786/10.74, allocations: 5.143 MB / 3.936 GB, free: 0.8722 GB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02219/10.76, allocations: 9.866 MB / 3.945 GB, free: 0.8722 GB / 1.967 GB Notification: Performance of SimCode: time 1.062e-06/10.76, allocations: 0 / 3.945 GB, free: 0.8722 GB / 1.967 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7572/11.52, allocations: 0.5745 GB / 4.52 GB, free: 376.1 MB / 1.967 GB Notification: Performance of buildModelFMU: Generate platform static: time 119.2/130.7, allocations: 11.97 kB / 4.52 GB, free: 376.1 MB / 1.967 GB (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstantReturn.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayConstantReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable T2Set.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn_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