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.00072/0.00072, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004297/0.004297, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.057/2.057, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 16 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4922, allocations: 142.4 MB / 0.9552 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001386/0.4937, allocations: 1.452 MB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.4946, allocations: 0.7111 MB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.4946, allocations: 3.969 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.4947, allocations: 3.938 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.4947, allocations: 23.78 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.495, allocations: 71.83 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.4951, allocations: 103.9 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.4952, allocations: 45.83 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.4953, allocations: 37.92 kB / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.4953, allocations: 45.17 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4954, allocations: 3.469 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.4955, allocations: 98.45 kB / 0.9577 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4956, allocations: 18.42 kB / 0.9577 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.4956, allocations: 69.41 kB / 0.9578 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4958, allocations: 150.8 kB / 0.9579 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4958, allocations: 4 kB / 0.9579 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4958, allocations: 0 / 0.9579 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.4958, allocations: 0 / 0.9579 GB, free: 5.477 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.0004411/0.4962, allocations: 429.4 kB / 0.9584 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.4963, allocations: 13.16 kB / 0.9584 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.4963, allocations: 41.39 kB / 0.9584 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.4964, allocations: 15.19 kB / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.874e-05/0.4964, allocations: 185.1 kB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4964, allocations: 8.312 kB / 0.9586 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4965, allocations: 14.5 kB / 0.9586 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.4968, allocations: 136.5 kB / 0.9587 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.4968, allocations: 0 / 0.9587 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4968, allocations: 1.375 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4968, allocations: 1.375 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4971, allocations: 137.6 kB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.4975, allocations: 397.5 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.4978, allocations: 114.4 kB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.498, allocations: 82.45 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.4983, allocations: 0.5624 MB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.4983, allocations: 35.78 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.4983, allocations: 0 / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005812/0.4989, allocations: 219.6 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.4989, allocations: 60.66 kB / 0.9603 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.499, allocations: 163.1 kB / 0.9605 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.4991, allocations: 26.08 kB / 0.9605 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4991, allocations: 113.5 kB / 0.9606 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.4991, allocations: 30.3 kB / 0.9606 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.4991, allocations: 12.47 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.4992, allocations: 325.5 kB / 0.9609 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.4993, allocations: 54.33 kB / 0.961 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4995, allocations: 62.33 kB / 0.9611 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.4998, allocations: 118.9 kB / 0.9612 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4998, allocations: 3.938 kB / 0.9612 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003455/0.5002, allocations: 164 kB / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5002, allocations: 5.5 kB / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.5002, allocations: 0 / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5002, allocations: 5.375 kB / 0.9613 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5003, allocations: 33.91 kB / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5004, allocations: 1.375 kB / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.5005, allocations: 28.61 kB / 0.9614 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5005, allocations: 1.656 kB / 0.9614 GB, free: 2.402 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.073e-05/0.5005, allocations: 118.1 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5006, allocations: 13.81 kB / 0.9615 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.501, allocations: 179.2 kB / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.501, allocations: 2.031 kB / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.501, allocations: 0 / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.501, allocations: 96 / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.5011, allocations: 223.8 kB / 0.9619 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5011, allocations: 0 / 0.9619 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5013, allocations: 31.05 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5013, allocations: 1.031 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5013, allocations: 0 / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5013, allocations: 1.281 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5013, allocations: 3.984 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.5017, allocations: 259.4 kB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.5017, allocations: 101.4 kB / 0.9623 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5018, allocations: 9.266 kB / 0.9623 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5019, allocations: 20.08 kB / 0.9623 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.5019, allocations: 14.95 kB / 0.9623 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.5019, allocations: 2.062 kB / 0.9623 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.502, allocations: 129.7 kB / 0.9625 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.502, allocations: 0 / 0.9625 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002256/0.5022, allocations: 21.31 kB / 0.9625 GB, free: 1.484 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.0005532/0.5028, allocations: 0.8051 MB / 0.9633 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.5032, allocations: 127.1 kB / 0.9634 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5032, allocations: 1.406 kB / 0.9634 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.5033, allocations: 74.08 kB / 0.9635 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.5037, allocations: 29.28 kB / 0.9635 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5056, allocations: 1.853 MB / 0.9653 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.5058, allocations: 0.7041 MB / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.5058, allocations: 6.969 kB / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.5059, allocations: 32.52 kB / 0.966 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of SimCode: time 1.793e-06/0.5059, allocations: 4.109 kB / 0.966 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.374/3.88, allocations: 2.756 MB / 0.9687 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/3.88, allocations: 227.9 kB / 0.9689 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/7.091, allocations: 0 / 0.9689 GB, free: 12.9 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