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.004578/0.004578, allocations: 100.5 kB / 15.73 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.001112/0.001112, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.09/2.09, allocations: 390.3 MB / 0.6648 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.9504 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.687, allocations: 140.4 MB / 1.088 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002525/0.6896, allocations: 1.747 MB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000954/0.6905, allocations: 0.7174 MB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.6906, allocations: 1.062 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.6906, allocations: 10.8 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.6907, allocations: 24.23 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.6911, allocations: 97.89 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.6912, allocations: 114.1 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.6913, allocations: 53.2 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.6914, allocations: 42.12 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.6915, allocations: 48.89 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.6915, allocations: 9.188 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.6917, allocations: 106 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.6918, allocations: 24.08 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.6918, allocations: 53.31 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.6921, allocations: 160 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6921, allocations: 1.125 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6921, allocations: 0 / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6921, allocations: 0 / 1.091 GB, free: 3.066 MB / 0.8575 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.0005274/0.6926, allocations: 449 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6927, allocations: 9.312 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.6927, allocations: 44.45 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.6927, allocations: 15 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.6928, allocations: 183.6 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.6928, allocations: 12.12 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.6929, allocations: 14.34 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6932, allocations: 117 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6932, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6932, allocations: 5.422 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6932, allocations: 6.453 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.6936, allocations: 111.1 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.694, allocations: 401.8 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.6944, allocations: 107.3 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.6946, allocations: 76.38 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.6949, allocations: 0.5553 MB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.6949, allocations: 33.05 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.6949, allocations: 0 / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006184/0.6955, allocations: 189.6 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.6956, allocations: 53.78 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6957, allocations: 164.6 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.6957, allocations: 26.55 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.6957, allocations: 103 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6958, allocations: 30.33 kB / 1.093 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.6958, allocations: 25.52 kB / 1.093 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.6959, allocations: 325.9 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.6961, allocations: 43.3 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.6962, allocations: 50.2 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.6966, allocations: 98.94 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6966, allocations: 1.516 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003793/0.697, allocations: 145.9 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.697, allocations: 5.188 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.697, allocations: 0.6094 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.697, allocations: 0.8438 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.6972, allocations: 28.14 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6972, allocations: 0.6562 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6973, allocations: 22.2 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.6973, allocations: 2.156 kB / 1.094 GB, free: 16.27 MB / 0.8731 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 8.371e-05/0.6974, allocations: 130 kB / 1.094 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.6974, allocations: 13.72 kB / 1.094 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.6979, allocations: 156.8 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6979, allocations: 0.6875 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6979, allocations: 0.625 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.6979, allocations: 2.172 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.6981, allocations: 215.6 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6981, allocations: 0.6562 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.6983, allocations: 29.09 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6983, allocations: 0 / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.6983, allocations: 5.219 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6983, allocations: 0.7969 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6983, allocations: 0.7812 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.6988, allocations: 247 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.6988, allocations: 94.05 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.6989, allocations: 4.562 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.699, allocations: 11.77 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.699, allocations: 10.89 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6991, allocations: 6.375 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.493e-05/0.6991, allocations: 120.4 kB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.6992, allocations: 0.6562 kB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002573/0.6994, allocations: 33.7 kB / 1.095 GB, free: 15.45 MB / 0.8731 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.0007263/0.7001, allocations: 0.7803 MB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.7006, allocations: 110.5 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7006, allocations: 0.7812 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.7008, allocations: 56.98 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.7012, allocations: 46.39 kB / 1.096 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.7035, allocations: 1.761 MB / 1.098 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.7037, allocations: 0.6992 MB / 1.098 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.7038, allocations: 16.81 kB / 1.098 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.7039, allocations: 36.5 kB / 1.098 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.7039, allocations: 3.938 kB / 1.098 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.722, allocations: 3.141 MB / 1.101 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/8, allocations: 5.641 kB / 1.101 GB, free: 12.14 MB / 0.8731 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