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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001835/0.001834, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002013/0.002013, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.88 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5257, allocations: 140.4 MB / 0.9491 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002321/0.5281, allocations: 1.783 MB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.529, allocations: 0.7262 MB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.529, allocations: 1.219 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.5291, allocations: 3.938 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.5291, allocations: 27.34 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.5294, allocations: 78.23 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.265e-05/0.5295, allocations: 104.1 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.5296, allocations: 46.41 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.5297, allocations: 36.7 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.5297, allocations: 48.17 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.5297, allocations: 6 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.5299, allocations: 112.6 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.53, allocations: 18.52 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.53, allocations: 44.14 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.5302, allocations: 149 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.5302, allocations: 5.406 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5302, allocations: 3.984 kB / 0.9522 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5302, allocations: 0 / 0.9522 GB, free: 6.648 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.0005194/0.5307, allocations: 438.6 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5308, allocations: 8.625 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.5308, allocations: 45.58 kB / 0.9526 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.5308, allocations: 11.19 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.5309, allocations: 189.3 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5309, allocations: 8.812 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.531, allocations: 9.781 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.5313, allocations: 122.9 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5313, allocations: 0 / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5313, allocations: 5.156 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5313, allocations: 2.062 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.5317, allocations: 114.6 kB / 0.9531 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.5321, allocations: 396.7 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.5324, allocations: 115.6 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.5326, allocations: 66.48 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.5329, allocations: 0.5646 MB / 0.9542 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.5329, allocations: 32.34 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.5329, allocations: 4 kB / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000578/0.5335, allocations: 185.1 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.5335, allocations: 52.84 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5337, allocations: 162.8 kB / 0.9546 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.5337, allocations: 31.27 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.5337, allocations: 108.3 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5337, allocations: 30.23 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.5338, allocations: 20.81 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.5338, allocations: 329.1 kB / 0.9551 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.534, allocations: 43.77 kB / 0.9551 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.5342, allocations: 44.56 kB / 0.9552 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.5345, allocations: 95.75 kB / 0.9553 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5345, allocations: 0 / 0.9553 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003529/0.5348, allocations: 148.4 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.5349, allocations: 9.625 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5349, allocations: 0 / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5349, allocations: 1.406 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.535, allocations: 25.3 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.535, allocations: 1.406 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.5352, allocations: 19.69 kB / 0.9555 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.5352, allocations: 6.812 kB / 0.9555 GB, free: 3.582 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 6.625e-05/0.5352, allocations: 116.8 kB / 0.9556 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.5353, allocations: 21.56 kB / 0.9556 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.5357, allocations: 156.6 kB / 0.9558 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5357, allocations: 1.438 kB / 0.9558 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5357, allocations: 0 / 0.9558 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5357, allocations: 4 kB / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5359, allocations: 216.1 kB / 0.956 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5359, allocations: 3.938 kB / 0.956 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.5361, allocations: 26.78 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5361, allocations: 0 / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5361, allocations: 1.125 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5361, allocations: 0 / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5361, allocations: 1.125 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.5365, allocations: 248 kB / 0.9562 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.5365, allocations: 97.22 kB / 0.9563 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.5365, allocations: 5.281 kB / 0.9563 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.5367, allocations: 13.75 kB / 0.9563 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5367, allocations: 4.219 kB / 0.9564 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.5367, allocations: 5.906 kB / 0.9564 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.5368, allocations: 137 kB / 0.9565 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5368, allocations: 1 kB / 0.9565 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002522/0.5371, allocations: 20.75 kB / 0.9565 GB, free: 2.664 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.0005552/0.5376, allocations: 0.7892 MB / 0.9573 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.538, allocations: 108.7 kB / 0.9574 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.538, allocations: 1.094 kB / 0.9574 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.5382, allocations: 61.45 kB / 0.9574 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.5386, allocations: 25.7 kB / 0.9575 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.5404, allocations: 1.796 MB / 0.9592 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.5406, allocations: 0.7002 MB / 0.9599 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.5407, allocations: 11.72 kB / 0.9599 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.5408, allocations: 32.83 kB / 0.9599 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5408, allocations: 0 / 0.9599 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8772/1.418, allocations: 2.811 MB / 0.9627 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.418, allocations: 231.4 kB / 0.9629 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/3.239, allocations: 0 / 0.9629 GB, free: 14.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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