Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_SwitchBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_SwitchBox",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.007466/0.007466, allocations: 107.5 kB / 15.74 MB, free: 6.02 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.001784/0.001784, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.7163, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox): time 0.199/0.9153, allocations: 207 MB / 1.29 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05902/0.9744, allocations: 43.81 MB / 1.332 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007962/0.9824, allocations: 250.6 kB / 1.333 GB, free: 2.676 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007127/0.9895, allocations: 2.42 MB / 1.335 GB, free: 248 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01723/1.007, allocations: 6.033 MB / 1.341 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01147/1.018, allocations: 4.882 MB / 1.346 GB, free: 5.348 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01497/1.033, allocations: 11.33 MB / 1.357 GB, free: 9.984 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007138/1.04, allocations: 4.541 MB / 1.361 GB, free: 5.359 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/1.051, allocations: 4.967 MB / 1.366 GB, free: 392 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005689/1.057, allocations: 3.431 MB / 1.369 GB, free: 12.93 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/1.058, allocations: 0.4922 MB / 1.37 GB, free: 12.44 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/1.065, allocations: 2.453 MB / 1.372 GB, free: 9.988 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002052/1.067, allocations: 1.293 MB / 1.373 GB, free: 8.691 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004142/1.071, allocations: 2.597 MB / 1.376 GB, free: 6.082 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/1.083, allocations: 8.241 MB / 1.384 GB, free: 13.81 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.083, allocations: 0 / 1.384 GB, free: 13.81 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.808e-06/1.083, allocations: 4 kB / 1.384 GB, free: 13.81 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002726/1.083, allocations: 3.938 kB / 1.384 GB, free: 13.8 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.01132/1.095, allocations: 5.379 MB / 1.389 GB, free: 8.316 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.095, allocations: 12.03 kB / 1.389 GB, free: 8.305 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005309/1.095, allocations: 354.5 kB / 1.39 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/1.1, allocations: 0.9454 MB / 1.391 GB, free: 7 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/1.107, allocations: 3.814 MB / 1.394 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/1.107, allocations: 229 kB / 1.395 GB, free: 2.902 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/1.108, allocations: 292 kB / 1.395 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/1.114, allocations: 3.176 MB / 1.398 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/1.114, allocations: 3.938 kB / 1.398 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.114, allocations: 116 kB / 1.398 GB, free: 15.17 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/1.114, allocations: 64 kB / 1.398 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/1.12, allocations: 2.587 MB / 1.401 GB, free: 12.5 MB / 1.139 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.02194/1.142, allocations: 17.42 MB / 1.418 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/1.146, allocations: 2.201 MB / 1.42 GB, free: 7.406 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/1.148, allocations: 0.9871 MB / 1.421 GB, free: 6.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007961/1.156, allocations: 4.718 MB / 1.425 GB, free: 1.461 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/1.158, allocations: 1.149 MB / 1.426 GB, free: 284 kB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001955/1.16, allocations: 0.4908 MB / 1.427 GB, free: 15.79 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 5.611e-06/1.16, allocations: 0 / 1.427 GB, free: 15.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=139): time 0.02555/1.185, allocations: 10.55 MB / 1.437 GB, free: 5.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.185, allocations: 230.9 kB / 1.437 GB, free: 4.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/1.191, allocations: 3.459 MB / 1.441 GB, free: 1.328 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/1.191, allocations: 85.7 kB / 1.441 GB, free: 1.238 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.193, allocations: 1.923 MB / 1.443 GB, free: 15.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/1.193, allocations: 456.2 kB / 1.443 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/1.194, allocations: 0.5273 MB / 1.444 GB, free: 14.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/1.194, allocations: 301.1 kB / 1.444 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.196, allocations: 0.9706 MB / 1.445 GB, free: 13.04 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/1.199, allocations: 1.81 MB / 1.447 GB, free: 10.85 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/1.203, allocations: 2.603 MB / 1.449 GB, free: 7.922 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.203, allocations: 8 kB / 1.449 GB, free: 7.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.00689/1.21, allocations: 3.372 MB / 1.453 GB, free: 4.523 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/1.21, allocations: 17.56 kB / 1.453 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/1.21, allocations: 24.12 kB / 1.453 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/1.216, allocations: 1.05 MB / 1.454 GB, free: 3.426 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.218, allocations: 459.2 kB / 1.454 GB, free: 2.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.23, allocations: 9.181 MB / 1.463 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.233, allocations: 189.2 kB / 1.463 GB, free: 9.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/1.234, allocations: 127.9 kB / 1.463 GB, free: 9.039 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003417/1.237, allocations: 1.629 MB / 1.465 GB, free: 7.402 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002606/1.24, allocations: 1.783 MB / 1.467 GB, free: 5.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004863/1.245, allocations: 2.537 MB / 1.469 GB, free: 2.375 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.706e-05/1.245, allocations: 8 kB / 1.469 GB, free: 2.367 MB / 1.201 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.008021/1.253, allocations: 3.298 MB / 1.472 GB, free: 15.05 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.253, allocations: 16.16 kB / 1.472 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/1.253, allocations: 28 kB / 1.472 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/1.259, allocations: 1.05 MB / 1.473 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/1.261, allocations: 443.4 kB / 1.474 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.274, allocations: 9.218 MB / 1.483 GB, free: 3.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.278, allocations: 208.9 kB / 1.483 GB, free: 3.656 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000605/1.278, allocations: 119.9 kB / 1.483 GB, free: 3.539 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.floSwiBox.con.truFalHol.onDel1.u,$PRE.floSwiBox.con.truFalHol.onDel2.u,$PRE.floSwiBox.con.truFalHol.toTrue.enableFire,$PRE.floSwiBox.con.truFalHol.toFalse.enableFire,$PRE.floSwiBox.con.truFalHol.toTrue1.enableFire,$PRE.floSwiBox.con.truFalHol.toFalse1.enableFire,floSwiBox.con.truFalHol.toFalse1.t_start,$PRE.floSwiBox.con.truFalHol.toFalse1.t_start,floSwiBox.con.truFalHol.toTrue1.t_start,$PRE.floSwiBox.con.truFalHol.toTrue1.t_start,floSwiBox.con.truFalHol.toFalse.t_start,$PRE.floSwiBox.con.truFalHol.toFalse.t_start,floSwiBox.con.truFalHol.toTrue.t_start,$PRE.floSwiBox.con.truFalHol.toTrue.t_start,$PRE.setMasFlo2.nextTimeEvent,$whenCondition7,$PRE.floSwiBox.con.truFalHol.onDel2.t_next,$whenCondition4,$PRE.floSwiBox.con.truFalHol.onDel1.t_next,$whenCondition1,floSwiBox.con.truFalHol.onDel2.t_next,floSwiBox.con.truFalHol.onDel1.t_next,floSwiBox.con.truFalHol.stateGraphRoot.resume,floSwiBox.con.truFalHol.stateGraphRoot.suspend,setMasFlo2.nextTimeEventScaled,$PRE.setMasFlo2.nextTimeEventScaled,setMasFlo2.nextTimeEvent,floSwiBox.con.truFalHol.toFalse1.enableFire,floSwiBox.con.truFalHol.toTrue1.enableFire,floSwiBox.con.truFalHol.initialStep.oldActive,$PRE.floSwiBox.con.truFalHol.initialStep.oldActive,floSwiBox.con.truFalHol.initialStep.newActive,$PRE.floSwiBox.con.truFalHol.initialStep.newActive,floSwiBox.con.truFalHol.initialStep.outPort[2].available,floSwiBox.con.truFalHol.initialStep.localActive,$PRE.floSwiBox.con.truFalHol.initialStep.localActive,floSwiBox.con.truFalHol.initialStep.active,floSwiBox.con.truFalHol.toFalse.enableFire,floSwiBox.con.truFalHol.toFalse.localCondition,floSwiBox.con.truFalHol.outputTrue.active,floSwiBox.con.truFalHol.outputTrue.oldActive,$PRE.floSwiBox.con.truFalHol.outputTrue.oldActive,floSwiBox.con.truFalHol.outputTrue.newActive,$PRE.floSwiBox.con.truFalHol.outputTrue.newActive,floSwiBox.con.truFalHol.outputTrue.inPort[2].occupied,floSwiBox.con.truFalHol.outputTrue.localActive,$PRE.floSwiBox.con.truFalHol.outputTrue.localActive,floSwiBox.con.truFalHol.toTrue.enableFire,floSwiBox.con.truFalHol.toTrue.localCondition,floSwiBox.con.truFalHol.outputFalse.active,floSwiBox.con.truFalHol.outputFalse.oldActive,$PRE.floSwiBox.con.truFalHol.outputFalse.oldActive,floSwiBox.con.truFalHol.outputFalse.newActive,$PRE.floSwiBox.con.truFalHol.outputFalse.newActive,floSwiBox.con.truFalHol.outputFalse.inPort[2].occupied,floSwiBox.con.truFalHol.outputFalse.localActive,$PRE.floSwiBox.con.truFalHol.outputFalse.localActive,floSwiBox.con.truFalHol.stateGraphRoot.activeSteps,floSwiBox.con.truFalHol.onDel2.y,floSwiBox.con.truFalHol.onDel2.u,floSwiBox.con.truFalHol.onDel1.y,floSwiBox.con.truFalHol.onDel1.u,floSwiBox.con.truFalHol.u,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 251 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.279, allocations: 390.4 kB / 1.484 GB, free: 3.141 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.281, allocations: 397.4 kB / 1.484 GB, free: 2.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007796/1.288, allocations: 2.776 MB / 1.487 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/1.288, allocations: 19.98 kB / 1.487 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.288, allocations: 7.938 kB / 1.487 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005891/1.294, allocations: 2.391 MB / 1.489 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.308, allocations: 5.826 MB / 1.495 GB, free: 7.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.308, allocations: 3.984 kB / 1.495 GB, free: 7.516 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.309, allocations: 251.7 kB / 1.495 GB, free: 7.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.311, allocations: 378.2 kB / 1.495 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.311, allocations: 47.91 kB / 1.495 GB, free: 6.844 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/1.318, allocations: 6.081 MB / 1.501 GB, free: 328 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.318, allocations: 4 kB / 1.501 GB, free: 324 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009662/1.327, allocations: 3.782 MB / 1.505 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.329, allocations: 0.6545 MB / 1.506 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.331, allocations: 51.81 kB / 1.506 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.333, allocations: 119.9 kB / 1.506 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/1.334, allocations: 137.1 kB / 1.506 GB, free: 11.5 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.334, allocations: 71.95 kB / 1.506 GB, free: 11.43 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.005031/1.339, allocations: 2.275 MB / 1.508 GB, free: 9.152 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.01e-07/1.339, allocations: 4 kB / 1.508 GB, free: 9.148 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008054/1.347, allocations: 1.683 MB / 1.51 GB, free: 7.465 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volSup.dynBal.U,volRet.dynBal.U) * Number of discrete variables: 47 (floSwiBox.con.truFalHol.initialStep.localActive,floSwiBox.con.truFalHol.outputTrue.active,floSwiBox.con.truFalHol.outputTrue.localActive,floSwiBox.con.truFalHol.onDel2.u,floSwiBox.con.truFalHol.outputFalse.active,floSwiBox.con.truFalHol.outputFalse.localActive,floSwiBox.con.truFalHol.onDel1.u,$cse45,$cse46,$cse47,$cse48,$cse49,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,floSwiBox.con.truFalHol.u,floSwiBox.con.truFalHol.onDel1.y,floSwiBox.con.truFalHol.onDel1.t_next,floSwiBox.con.truFalHol.onDel2.y,floSwiBox.con.truFalHol.onDel2.t_next,floSwiBox.con.truFalHol.stateGraphRoot.activeSteps,floSwiBox.con.truFalHol.outputFalse.inPort[2].occupied,floSwiBox.con.truFalHol.outputFalse.newActive,floSwiBox.con.truFalHol.outputFalse.oldActive,floSwiBox.con.truFalHol.toTrue.localCondition,floSwiBox.con.truFalHol.toTrue.enableFire,floSwiBox.con.truFalHol.outputTrue.inPort[2].occupied,floSwiBox.con.truFalHol.outputTrue.newActive,floSwiBox.con.truFalHol.outputTrue.oldActive,floSwiBox.con.truFalHol.toFalse.localCondition,floSwiBox.con.truFalHol.toFalse.enableFire,floSwiBox.con.truFalHol.initialStep.active,floSwiBox.con.truFalHol.initialStep.outPort[2].available,floSwiBox.con.truFalHol.initialStep.newActive,floSwiBox.con.truFalHol.initialStep.oldActive,floSwiBox.con.truFalHol.toTrue1.enableFire,floSwiBox.con.truFalHol.toFalse1.enableFire,setMasFlo2.nextTimeEvent,setMasFlo2.nextTimeEventScaled,floSwiBox.con.truFalHol.toTrue.t_start,floSwiBox.con.truFalHol.toFalse.t_start,floSwiBox.con.truFalHol.toTrue1.t_start,floSwiBox.con.truFalHol.toFalse1.t_start) * Number of discrete states: 11 (floSwiBox.con.truFalHol.toFalse1.t_start,floSwiBox.con.truFalHol.toTrue1.t_start,floSwiBox.con.truFalHol.toFalse.t_start,floSwiBox.con.truFalHol.toTrue.t_start,setMasFlo2.nextTimeEvent,floSwiBox.con.truFalHol.onDel2.t_next,floSwiBox.con.truFalHol.onDel1.t_next,floSwiBox.con.truFalHol.outputFalse.newActive,floSwiBox.con.truFalHol.outputTrue.newActive,floSwiBox.con.truFalHol.initialStep.newActive,setMasFlo2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/1.36, allocations: 5.337 MB / 1.515 GB, free: 2.242 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.371, allocations: 4.916 MB / 1.52 GB, free: 13.26 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.371, allocations: 4 kB / 1.52 GB, free: 13.26 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/1.374, allocations: 1.477 MB / 1.521 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008549/1.382, allocations: 1.824 MB / 1.523 GB, free: 9.973 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05291/1.435, allocations: 26.26 MB / 1.549 GB, free: 14.71 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/1.438, allocations: 2.257 MB / 1.551 GB, free: 12.42 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003421/1.441, allocations: 0.7986 MB / 1.552 GB, free: 11.64 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002492/1.444, allocations: 1.706 MB / 1.553 GB, free: 9.938 MB / 1.295 GB Notification: Performance of SimCode: time 8.22e-07/1.444, allocations: 4 kB / 1.553 GB, free: 9.934 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6224/2.066, allocations: 109 MB / 1.66 GB, free: 408 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.11/21.17, allocations: 12.33 kB / 1.66 GB, free: 408 MB / 1.311 GB (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_SwitchBox.fmu > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_SwitchBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.SwitchBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches