Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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.InjectionTwoWayCheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve",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.004743/0.004744, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001109/0.001109, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.581/2.581, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9169, allocations: 159.1 MB / 1.22 GB, free: 2.207 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.InjectionTwoWayCheckValve): time 4.789/5.706, allocations: 1.825 GB / 3.045 GB, free: 152.1 MB / 1.889 GB Notification: Performance of NFInst.instExpressions: time 0.2522/5.958, allocations: 159.8 MB / 3.201 GB, free: 150.1 MB / 1.889 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04787/6.006, allocations: 0.7991 MB / 3.201 GB, free: 150.1 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.03374/6.04, allocations: 10.37 MB / 3.212 GB, free: 150 MB / 1.889 GB Notification: Performance of NFTyping.typeBindings: time 0.08691/6.126, allocations: 29.66 MB / 3.241 GB, free: 143.7 MB / 1.889 GB Notification: Performance of NFTyping.typeClassSections: time 0.0435/6.17, allocations: 17.48 MB / 3.258 GB, free: 134.8 MB / 1.889 GB Notification: Performance of NFFlatten.flatten: time 0.08685/6.257, allocations: 67.8 MB / 3.324 GB, free: 102.4 MB / 1.889 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04379/6.301, allocations: 20.08 MB / 3.343 GB, free: 82.68 MB / 1.889 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04879/6.35, allocations: 20.36 MB / 3.363 GB, free: 64.18 MB / 1.889 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03259/6.382, allocations: 14.98 MB / 3.378 GB, free: 50.17 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.01364/6.396, allocations: 2.992 MB / 3.381 GB, free: 47.18 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05506/6.451, allocations: 18.72 MB / 3.399 GB, free: 30.06 MB / 1.889 GB Notification: Performance of NFScalarize.scalarize: time 0.01255/6.464, allocations: 7.083 MB / 3.406 GB, free: 23.09 MB / 1.889 GB Notification: Performance of NFVerifyModel.verify: time 0.03967/6.503, allocations: 13.31 MB / 3.419 GB, free: 9.84 MB / 1.889 GB Notification: Performance of NFConvertDAE.convert: time 0.1021/6.605, allocations: 48.39 MB / 3.466 GB, free: 10.75 MB / 1.936 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/6.606, allocations: 0 / 3.466 GB, free: 10.75 MB / 1.936 GB Notification: Performance of FrontEnd: time 2.986e-06/6.606, allocations: 0 / 3.466 GB, free: 10.75 MB / 1.936 GB Notification: Performance of Transformations before backend: time 0.001472/6.607, allocations: 0 / 3.466 GB, free: 10.75 MB / 1.936 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.08475/6.692, allocations: 24.99 MB / 3.491 GB, free: 1.801 MB / 1.951 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/6.692, allocations: 8.031 kB / 3.491 GB, free: 1.793 MB / 1.951 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006769/6.699, allocations: 1.625 MB / 3.492 GB, free: 164 kB / 1.951 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06497/6.764, allocations: 9.165 MB / 3.501 GB, free: 7.004 MB / 1.967 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06623/6.83, allocations: 28.22 MB / 3.529 GB, free: 11.27 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001827/6.832, allocations: 1.126 MB / 3.53 GB, free: 10.12 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007246/6.839, allocations: 1.355 MB / 3.531 GB, free: 8.77 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.067/6.906, allocations: 18.93 MB / 3.55 GB, free: 5.609 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006549/6.907, allocations: 11.92 kB / 3.55 GB, free: 5.598 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00521/6.912, allocations: 0.5173 MB / 3.55 GB, free: 5.086 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005769/6.913, allocations: 0.489 MB / 3.551 GB, free: 4.594 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06721/6.98, allocations: 19.57 MB / 3.57 GB, free: 1.008 MB / 2.029 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.1894/7.169, allocations: 85.23 MB / 3.653 GB, free: 9.598 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03751/7.207, allocations: 13.61 MB / 3.666 GB, free: 11.95 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02349/7.23, allocations: 7.987 MB / 3.674 GB, free: 3.961 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.908/8.138, allocations: 38.57 MB / 3.712 GB, free: 1.127 GB / 2.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02776/8.166, allocations: 7.984 MB / 3.72 GB, free: 1.126 GB / 2.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01112/8.177, allocations: 0.9218 MB / 3.72 GB, free: 1.126 GB / 2.17 GB Notification: Performance of pre-optimization done (n=874): time 6.981e-05/8.177, allocations: 0 / 3.72 GB, free: 1.126 GB / 2.17 GB Notification: Performance of matching and sorting (n=898): time 0.1374/8.315, allocations: 41.37 MB / 3.761 GB, free: 1.112 GB / 2.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/8.315, allocations: 0.5745 MB / 3.761 GB, free: 1.111 GB / 2.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03758/8.353, allocations: 17.54 MB / 3.779 GB, free: 1.105 GB / 2.17 GB Notification: Performance of collectPreVariables (initialization): time 0.003145/8.356, allocations: 247.3 kB / 3.779 GB, free: 1.105 GB / 2.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.01148/8.367, allocations: 8.658 MB / 3.787 GB, free: 1.099 GB / 2.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.006212/8.374, allocations: 3.201 MB / 3.79 GB, free: 1.096 GB / 2.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01466/8.388, allocations: 2.905 MB / 3.793 GB, free: 1.095 GB / 2.17 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/8.388, allocations: 305.1 kB / 3.794 GB, free: 1.095 GB / 2.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02386/8.412, allocations: 8.678 MB / 3.802 GB, free: 1.091 GB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02657/8.439, allocations: 11.65 MB / 3.813 GB, free: 1.085 GB / 2.17 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.2445/8.683, allocations: 71.19 MB / 3.883 GB, free: 1.022 GB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/8.684, allocations: 16 kB / 3.883 GB, free: 1.022 GB / 2.17 GB Notification: Performance of matching and sorting (n=1665) (initialization): time 0.08557/8.769, allocations: 23.98 MB / 3.906 GB, free: 0.9986 GB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/8.769, allocations: 305 kB / 3.907 GB, free: 0.9982 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/8.77, allocations: 56 kB / 3.907 GB, free: 0.9982 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007541/8.777, allocations: 2.546 MB / 3.909 GB, free: 0.9957 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02197/8.799, allocations: 3.648 MB / 3.913 GB, free: 0.9921 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/8.821, allocations: 26.1 MB / 3.938 GB, free: 0.965 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02872/8.85, allocations: 1.594 MB / 3.94 GB, free: 0.9635 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005012/8.855, allocations: 0.6948 MB / 3.94 GB, free: 0.9628 GB / 2.17 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.03595/8.891, allocations: 12.41 MB / 3.953 GB, free: 0.9507 GB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02734/8.918, allocations: 11.31 MB / 3.964 GB, free: 0.9386 GB / 2.17 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.2458/9.164, allocations: 69.38 MB / 4.031 GB, free: 0.8698 GB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.00015/9.164, allocations: 19.75 kB / 4.031 GB, free: 0.8698 GB / 2.17 GB Notification: Performance of matching and sorting (n=1665) (initialization_lambda0): time 0.07943/9.244, allocations: 23.41 MB / 4.054 GB, free: 0.8468 GB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003294/9.244, allocations: 301.8 kB / 4.055 GB, free: 0.8465 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/9.245, allocations: 56 kB / 4.055 GB, free: 0.8464 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007691/9.252, allocations: 2.479 MB / 4.057 GB, free: 0.8439 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02154/9.274, allocations: 3.608 MB / 4.061 GB, free: 0.8404 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03065/9.305, allocations: 32.56 MB / 4.092 GB, free: 0.8069 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03054/9.335, allocations: 1.646 MB / 4.094 GB, free: 0.8053 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004978/9.34, allocations: 0.6832 MB / 4.095 GB, free: 0.8046 GB / 2.17 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: 262 * Number of states: 0 () * Number of discrete variables: 90 ($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.ctlPum2.cha.u,$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],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,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,$whenCondition13,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 (1497): * Single equations (assignments): 1456 * Array equations: 10 * Algorithm blocks: 10 * 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), (5,26), (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.008236/9.348, allocations: 1.22 MB / 4.096 GB, free: 0.8033 GB / 2.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008511/9.357, allocations: 1.778 MB / 4.098 GB, free: 0.8016 GB / 2.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06205/9.419, allocations: 17.37 MB / 4.114 GB, free: 0.7846 GB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001621/9.419, allocations: 108 kB / 4.115 GB, free: 0.7845 GB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-05/9.419, allocations: 0 / 4.115 GB, free: 0.7845 GB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04604/9.465, allocations: 14.31 MB / 4.129 GB, free: 0.7704 GB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1053/9.571, allocations: 44.12 MB / 4.172 GB, free: 0.727 GB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001613/9.571, allocations: 20 kB / 4.172 GB, free: 0.727 GB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01346/9.584, allocations: 2.118 MB / 4.174 GB, free: 0.7249 GB / 2.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/9.588, allocations: 1.058 MB / 4.175 GB, free: 0.7238 GB / 2.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002566/9.591, allocations: 327.8 kB / 4.175 GB, free: 0.7235 GB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007534/9.598, allocations: 9.893 MB / 4.185 GB, free: 0.7132 GB / 2.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/9.598, allocations: 35.81 kB / 4.185 GB, free: 0.7131 GB / 2.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0731/9.671, allocations: 26.34 MB / 4.211 GB, free: 0.6869 GB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/9.684, allocations: 4.089 MB / 4.214 GB, free: 0.6829 GB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007624/9.692, allocations: 236 kB / 4.215 GB, free: 0.6827 GB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01988/9.712, allocations: 1.02 MB / 4.216 GB, free: 0.6817 GB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002727/9.715, allocations: 0.6498 MB / 4.216 GB, free: 0.681 GB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003026/9.718, allocations: 491.5 kB / 4.217 GB, free: 0.6806 GB / 2.17 GB Notification: Performance of sorting global known variables: time 0.0302/9.748, allocations: 11.86 MB / 4.228 GB, free: 0.6691 GB / 2.17 GB Notification: Performance of sort global known variables: time 1.212e-06/9.748, allocations: 0 / 4.228 GB, free: 0.6691 GB / 2.17 GB Notification: Performance of remove unused functions: time 0.04509/9.793, allocations: 8.09 MB / 4.236 GB, free: 0.6612 GB / 2.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (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.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],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.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y) * Number of discrete variables: 51 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$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,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y) * Number of discrete states: 7 (fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,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 (927): * Single equations (assignments): 879 * Array equations: 0 * Algorithm blocks: 10 * 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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.08041/9.873, allocations: 29.57 MB / 4.265 GB, free: 0.6322 GB / 2.17 GB Notification: Performance of simCode: created initialization part: time 0.09136/9.965, allocations: 32.74 MB / 4.297 GB, free: 0.5998 GB / 2.17 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-05/9.965, allocations: 9.875 kB / 4.297 GB, free: 0.5998 GB / 2.17 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/9.985, allocations: 8.363 MB / 4.305 GB, free: 0.5915 GB / 2.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05532/10.04, allocations: 9.29 MB / 4.314 GB, free: 0.5828 GB / 2.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/10.45, allocations: 154.3 MB / 4.465 GB, free: 439.4 MB / 2.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02185/10.47, allocations: 8.365 MB / 4.473 GB, free: 431 MB / 2.17 GB Notification: Performance of simCode: alias equations: time 0.03641/10.51, allocations: 4.825 MB / 4.478 GB, free: 426.3 MB / 2.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02311/10.53, allocations: 8.981 MB / 4.487 GB, free: 417.3 MB / 2.17 GB Notification: Performance of SimCode: time 2.295e-06/10.53, allocations: 4 kB / 4.487 GB, free: 417.3 MB / 2.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.333/12.86, allocations: 0.5235 GB / 5.01 GB, free: 1.053 GB / 2.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 118.2/131, allocations: 8.078 kB / 5.01 GB, free: 1.053 GB / 2.17 GB (rm -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_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_InjectionTwoWayCheckValve.fmu > Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HydronicConfigurations_ActiveNetworks_Examples_InjectionTwoWayCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable T2Set.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.res3.m_flow in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.res3.m_flow from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.mPum_flow_nominal in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.mPum_flow_nominal from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[1] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[1] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable fraLoa.y[2] in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable fraLoa.y[2] from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.yLoa_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.yLoa_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable loa1.con.val.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable loa1.con.val.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1SetVal.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1SetVal.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp1.p_rel in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp1.p_rel from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2SetVal.y in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2SetVal.y from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable dp2.p_rel in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable dp2.p_rel from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable pum.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable pum.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv failed! Error: Could not read variable con.pum.y_actual in file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_res.csv. Warning: Get data of variable con.pum.y_actual from file Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve_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,dp1SetVal.y,dp1.p_rel,dp2SetVal.y,dp2.p_rel,pum.y_actual,con.pum.y_actual Variables in the result:time,T1Ret.T,T1Sup.T,con.T2Ret.T,con.T2Sup.T,con.ctl.conPID.I.y