Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.007274/0.007274, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.002099/0.002099, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.7425 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.12 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003416/0.2709, allocations: 2.169 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2726, allocations: 1.04 MB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.2727, allocations: 4 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.2728, allocations: 23.67 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.2731, allocations: 87.22 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.2735, allocations: 187.2 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2738, allocations: 294.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.274, allocations: 68.64 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2742, allocations: 111.5 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.2744, allocations: 139.3 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.2744, allocations: 16 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.2749, allocations: 295.7 kB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.275, allocations: 51.75 kB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2751, allocations: 123.3 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2756, allocations: 334.5 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2756, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2756, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2756, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001146/0.2768, allocations: 0.6346 MB / 1.226 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2768, allocations: 8.031 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.2769, allocations: 46.73 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.2771, allocations: 40.7 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.2775, allocations: 291.7 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2775, allocations: 8.656 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.2775, allocations: 16.38 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.2781, allocations: 236.7 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2782, allocations: 3.938 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.2782, allocations: 4 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2782, allocations: 4 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.279, allocations: 203.7 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2802, allocations: 0.9347 MB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.2811, allocations: 245.2 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.2815, allocations: 109.6 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2815, allocations: 4 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2815, allocations: 38.5 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2815, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001304/0.2828, allocations: 341.5 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2829, allocations: 77.11 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.2832, allocations: 267 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2832, allocations: 29.7 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2834, allocations: 164.2 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.2834, allocations: 59.53 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.2835, allocations: 41.7 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2837, allocations: 330.8 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.2841, allocations: 99.91 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.2845, allocations: 133.9 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.2852, allocations: 241.7 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2852, allocations: 0 / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009314/0.2862, allocations: 297.2 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2862, allocations: 8 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2862, allocations: 0 / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2862, allocations: 4 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2866, allocations: 59.94 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2866, allocations: 3.938 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.2868, allocations: 51.88 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2869, allocations: 8.703 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.000129/0.287, allocations: 129.8 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2871, allocations: 31.8 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.288, allocations: 299.1 kB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2881, allocations: 0 / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2881, allocations: 0 / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2881, allocations: 4 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.2885, allocations: 305.2 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2886, allocations: 0 / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.2888, allocations: 55.89 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2889, allocations: 4.281 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2889, allocations: 7.984 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.2889, allocations: 4 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2889, allocations: 3.938 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.2898, allocations: 438.4 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.2899, allocations: 104.9 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.29, allocations: 8 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.2903, allocations: 27.97 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2904, allocations: 19.97 kB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2904, allocations: 4 kB / 1.231 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002036/0.2906, allocations: 190 kB / 1.231 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.2906, allocations: 0 / 1.231 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003493/0.2909, allocations: 55.94 kB / 1.231 GB, free: 2.219 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001386/0.2923, allocations: 0.9949 MB / 1.232 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008234/0.2932, allocations: 227.7 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2932, allocations: 320 / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.2936, allocations: 123.8 kB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.2941, allocations: 73.34 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.2986, allocations: 2.714 MB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.299, allocations: 0.7556 MB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.2992, allocations: 30.42 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2993, allocations: 87.41 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.2993, allocations: 4 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3277, allocations: 6.558 MB / 1.243 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.304, allocations: 15.75 kB / 1.243 GB, free: 6.66 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches