Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.001755/0.001755, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.318/2.318, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.517, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002369/0.5194, allocations: 1.731 MB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.5202, allocations: 0.7265 MB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.5203, allocations: 1.312 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.5203, allocations: 7.875 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.5204, allocations: 22.64 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.5207, allocations: 99.17 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.5208, allocations: 110.2 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5209, allocations: 51.14 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.521, allocations: 39.52 kB / 0.9525 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.5211, allocations: 52.92 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.5211, allocations: 9.156 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.5213, allocations: 108 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.5213, allocations: 22.72 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.5214, allocations: 53.11 kB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.5215, allocations: 149.6 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5215, allocations: 5.594 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5216, allocations: 0 / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.5216, allocations: 0 / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005122/0.5221, allocations: 450 kB / 0.9533 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5221, allocations: 8.844 kB / 0.9533 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.5222, allocations: 42.11 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.5222, allocations: 11.53 kB / 0.9533 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.508e-05/0.5223, allocations: 181.5 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5223, allocations: 7.781 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5223, allocations: 14.47 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.5226, allocations: 125.2 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.5226, allocations: 1.156 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5226, allocations: 5.406 kB / 0.9536 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5227, allocations: 1.312 kB / 0.9536 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.523, allocations: 110.4 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.5234, allocations: 396.6 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.5237, allocations: 104.5 kB / 0.9542 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.5239, allocations: 72.05 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.5242, allocations: 0.5621 MB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.5243, allocations: 39.62 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.5243, allocations: 0 / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006064/0.5249, allocations: 193.7 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.5249, allocations: 52.69 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.525, allocations: 164.8 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.525, allocations: 27.14 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.5251, allocations: 100.5 kB / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.5251, allocations: 30.42 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.5251, allocations: 27.34 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.5252, allocations: 322.4 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.5253, allocations: 44.36 kB / 0.9558 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.5255, allocations: 40.16 kB / 0.9558 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.5258, allocations: 103.5 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5258, allocations: 0 / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003686/0.5262, allocations: 152.4 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5262, allocations: 7.5 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.5262, allocations: 0 / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5263, allocations: 1.5 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5264, allocations: 25.55 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.5264, allocations: 0 / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.5265, allocations: 16.61 kB / 0.9561 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5266, allocations: 6.578 kB / 0.9561 GB, free: 3.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.5266, allocations: 121.8 kB / 0.9563 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.5267, allocations: 17.03 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.5271, allocations: 158.2 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5271, allocations: 0 / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5271, allocations: 0 / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5271, allocations: 0 / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.5273, allocations: 217.5 kB / 0.9566 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5273, allocations: 3.984 kB / 0.9566 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5274, allocations: 30.08 kB / 0.9567 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5274, allocations: 0 / 0.9567 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5274, allocations: 4 kB / 0.9567 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5274, allocations: 0 / 0.9567 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5274, allocations: 3.984 kB / 0.9567 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.5278, allocations: 248.8 kB / 0.9569 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.5279, allocations: 101.3 kB / 0.957 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.5279, allocations: 1.125 kB / 0.957 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.528, allocations: 10.95 kB / 0.957 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.5281, allocations: 10.48 kB / 0.957 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.5281, allocations: 2 kB / 0.957 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.5282, allocations: 120.8 kB / 0.9571 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5282, allocations: 0 / 0.9571 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.5284, allocations: 25.47 kB / 0.9572 GB, free: 2.711 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/0.529, allocations: 0.7937 MB / 0.9579 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.5294, allocations: 113.3 kB / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5295, allocations: 0 / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.5296, allocations: 57.44 kB / 0.9581 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.53, allocations: 28.41 kB / 0.9581 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.5319, allocations: 1.767 MB / 0.9599 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.532, allocations: 0.7051 MB / 0.9605 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.012e-05/0.5321, allocations: 9.922 kB / 0.9606 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.5322, allocations: 32.92 kB / 0.9606 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5322, allocations: 1.375 kB / 0.9606 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.5493, allocations: 3.094 MB / 0.9636 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.665, allocations: 8.953 kB / 0.9636 GB, free: 14.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches