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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 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.001036/0.001036, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.275/2.275, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.88 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5235, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002275/0.5258, allocations: 1.738 MB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.5266, allocations: 0.7194 MB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.5266, allocations: 2.562 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.5267, allocations: 15.86 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.5267, allocations: 22.72 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.527, allocations: 94.31 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.5271, allocations: 110 kB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.5272, allocations: 42.56 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.5273, allocations: 48.36 kB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.5274, allocations: 48.86 kB / 0.9525 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.5274, allocations: 8.969 kB / 0.9525 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.5276, allocations: 104.5 kB / 0.9526 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.5276, allocations: 30.52 kB / 0.9526 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.5276, allocations: 53.73 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.5278, allocations: 150.2 kB / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5278, allocations: 0 / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5278, allocations: 0 / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5278, allocations: 0 / 0.9528 GB, free: 6.703 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.000457/0.5283, allocations: 441.4 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.5283, allocations: 9.562 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.5284, allocations: 43.2 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5284, allocations: 14.75 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.5285, allocations: 193.2 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5285, allocations: 8.688 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5285, allocations: 13.09 kB / 0.9535 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.5288, allocations: 118 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5288, allocations: 9.234 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5288, allocations: 4 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5288, allocations: 2.781 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.5291, allocations: 113.6 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.5295, allocations: 393.4 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.5298, allocations: 111.5 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.53, allocations: 65.45 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.5303, allocations: 0.5655 MB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.5303, allocations: 42.5 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.5303, allocations: 1.188 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005624/0.5309, allocations: 180.5 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.5309, allocations: 56.59 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.531, allocations: 169.6 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.531, allocations: 27.14 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.531, allocations: 104.5 kB / 0.9554 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.5311, allocations: 26.41 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.5311, allocations: 23.98 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.5311, allocations: 322.5 kB / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5313, allocations: 38.81 kB / 0.9558 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5314, allocations: 48.7 kB / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.5317, allocations: 104.6 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5317, allocations: 0 / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003353/0.5321, allocations: 148.3 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5321, allocations: 9.516 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.5321, allocations: 0 / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5321, allocations: 1.188 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5323, allocations: 25.55 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5323, allocations: 1.219 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.5324, allocations: 20.02 kB / 0.9561 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.5324, allocations: 2.344 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 4.814e-05/0.5324, allocations: 121.4 kB / 0.9563 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.5325, allocations: 17.44 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.5329, allocations: 155.8 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5329, allocations: 5.031 kB / 0.9564 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5329, allocations: 1.125 kB / 0.9564 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5329, allocations: 0 / 0.9564 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.533, allocations: 207.4 kB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.533, allocations: 1.156 kB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5332, allocations: 24.91 kB / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5332, allocations: 1.406 kB / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.5332, allocations: 1.125 kB / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5332, allocations: 0 / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5332, allocations: 9.094 kB / 0.9567 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.5335, allocations: 244.4 kB / 0.9569 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.5336, allocations: 101.1 kB / 0.957 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.5336, allocations: 3.938 kB / 0.957 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5337, allocations: 15.92 kB / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.5338, allocations: 15.67 kB / 0.957 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.5338, allocations: 1.844 kB / 0.957 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.5338, allocations: 121.4 kB / 0.9572 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5338, allocations: 0 / 0.9572 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002208/0.5341, allocations: 25.75 kB / 0.9572 GB, free: 2.715 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.0005264/0.5346, allocations: 0.7956 MB / 0.958 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.535, allocations: 105.7 kB / 0.9581 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.535, allocations: 0 / 0.9581 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.5351, allocations: 61.08 kB / 0.9581 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5355, allocations: 32.52 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.001625/0.5371, allocations: 1.763 MB / 0.9599 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.5373, allocations: 0.7007 MB / 0.9605 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.5373, allocations: 14.05 kB / 0.9606 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.5374, allocations: 33.36 kB / 0.9606 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5374, allocations: 0 / 0.9606 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.497/2.034, allocations: 3.092 MB / 0.9636 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/9.399, allocations: 15.12 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 & /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