Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_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.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001451/0.001451, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.339/2.339, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5852, allocations: 140.4 MB / 0.9492 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002527/0.5878, allocations: 2.202 MB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.589, allocations: 1.034 MB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.5891, allocations: 2.625 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.105e-05/0.5891, allocations: 15.8 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.5894, allocations: 74.56 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.5897, allocations: 165.4 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.59, allocations: 292.3 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.5901, allocations: 68.84 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.5902, allocations: 112.3 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.5904, allocations: 138.1 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.5904, allocations: 17.59 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.5908, allocations: 298.6 kB / 0.9535 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.5908, allocations: 53.8 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.5909, allocations: 114 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.5912, allocations: 324.5 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5912, allocations: 1.125 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5912, allocations: 0 / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5912, allocations: 0 / 0.954 GB, free: 5.438 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008802/0.5921, allocations: 0.6255 MB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5921, allocations: 9.25 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.5922, allocations: 47.95 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.5924, allocations: 43.67 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.5926, allocations: 273.3 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5926, allocations: 18.34 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5927, allocations: 22.31 kB / 0.955 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.5931, allocations: 236.5 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5932, allocations: 0 / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.5932, allocations: 6.375 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5932, allocations: 3.656 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.5938, allocations: 198.7 kB / 0.9554 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.5946, allocations: 0.9422 MB / 0.9564 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.5953, allocations: 240.2 kB / 0.9566 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.5956, allocations: 105.4 kB / 0.9567 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.5956, allocations: 5.797 kB / 0.9567 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.5956, allocations: 36.31 kB / 0.9567 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.5957, allocations: 0 / 0.9567 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00102/0.5967, allocations: 342.9 kB / 0.9571 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.5967, allocations: 86.33 kB / 0.9571 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.5969, allocations: 263.7 kB / 0.9574 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5969, allocations: 31.11 kB / 0.9574 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.597, allocations: 160.9 kB / 0.9576 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5971, allocations: 53.73 kB / 0.9576 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.5971, allocations: 38.95 kB / 0.9577 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.5972, allocations: 333 kB / 0.958 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.5975, allocations: 98.94 kB / 0.9581 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.5978, allocations: 137.6 kB / 0.9582 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.5983, allocations: 240.3 kB / 0.9584 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5983, allocations: 0 / 0.9584 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007139/0.5991, allocations: 300.5 kB / 0.9587 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5991, allocations: 5.594 kB / 0.9587 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5991, allocations: 5.312 kB / 0.9587 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5991, allocations: 2.75 kB / 0.9587 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.5994, allocations: 62.72 kB / 0.9588 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5994, allocations: 6.688 kB / 0.9588 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5996, allocations: 37.69 kB / 0.9588 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.5996, allocations: 6.875 kB / 0.9588 GB, free: 1.551 MB / 0.7169 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 8.191e-05/0.5997, allocations: 134 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5998, allocations: 25.47 kB / 0.959 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.6006, allocations: 303.5 kB / 0.9593 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6006, allocations: 6.094 kB / 0.9593 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6006, allocations: 5.219 kB / 0.9593 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6006, allocations: 0 / 0.9593 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.6009, allocations: 289.8 kB / 0.9596 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6009, allocations: 1.094 kB / 0.9596 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.6011, allocations: 54.45 kB / 0.9596 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6011, allocations: 0.8125 kB / 0.9596 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6012, allocations: 9.422 kB / 0.9596 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6012, allocations: 5.469 kB / 0.9596 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6012, allocations: 0.6562 kB / 0.9596 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.6019, allocations: 444.7 kB / 0.9601 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.602, allocations: 108 kB / 0.9602 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.602, allocations: 5.656 kB / 0.9602 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6023, allocations: 25.34 kB / 0.9602 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.6023, allocations: 23.52 kB / 0.9602 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6023, allocations: 5.5 kB / 0.9602 GB, free: 456 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001314/0.6025, allocations: 189.2 kB / 0.9604 GB, free: 328 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6025, allocations: 1.375 kB / 0.9604 GB, free: 328 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003368/0.6028, allocations: 54.41 kB / 0.9605 GB, free: 320 kB / 0.7169 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.001072/0.6039, allocations: 0.9993 MB / 0.9614 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007274/0.6046, allocations: 235.3 kB / 0.9617 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6047, allocations: 0 / 0.9617 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.605, allocations: 117.2 kB / 0.9618 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.6056, allocations: 71.16 kB / 0.9618 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.6093, allocations: 2.787 MB / 0.9646 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6096, allocations: 0.75 MB / 0.9653 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.6097, allocations: 28.88 kB / 0.9653 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.6099, allocations: 85.88 kB / 0.9654 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.6099, allocations: 0 / 0.9654 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.947/2.557, allocations: 6.169 MB / 0.9714 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/2.557, allocations: 214.9 kB / 0.9716 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/4.944, allocations: 0 / 0.9716 GB, free: 9.078 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches