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.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.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.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001518/0.001518, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.3/2.3, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6248, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002712/0.6275, allocations: 2.195 MB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.6288, allocations: 1.065 MB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.6289, allocations: 3.062 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.6289, allocations: 19.78 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.6291, allocations: 70.02 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.6294, allocations: 148.3 kB / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.6297, allocations: 285.7 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.6298, allocations: 60.53 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.6299, allocations: 103.8 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.6301, allocations: 138.3 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.6301, allocations: 14.38 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.6305, allocations: 287.2 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.6305, allocations: 45.23 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.6306, allocations: 108.9 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.6309, allocations: 321.6 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6309, allocations: 0 / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6309, allocations: 1.219 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6309, allocations: 0 / 0.9538 GB, free: 5.535 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.0009094/0.6318, allocations: 0.623 MB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6319, allocations: 9.5 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.6319, allocations: 43.91 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.6321, allocations: 44.42 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.6324, allocations: 276.7 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.6324, allocations: 11.56 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.6324, allocations: 24.97 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.6329, allocations: 228.9 kB / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6329, allocations: 0 / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.6329, allocations: 6.469 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6329, allocations: 2.875 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.6335, allocations: 198.6 kB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.6344, allocations: 0.9461 MB / 0.9561 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.6351, allocations: 240.5 kB / 0.9563 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.6354, allocations: 101.6 kB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.6354, allocations: 2.344 kB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.6354, allocations: 39.42 kB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.6354, allocations: 5.188 kB / 0.9565 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001054/0.6365, allocations: 338.6 kB / 0.9568 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.6365, allocations: 82.7 kB / 0.9569 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.6367, allocations: 267.5 kB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6368, allocations: 25.7 kB / 0.9572 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.6368, allocations: 162.5 kB / 0.9573 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.6369, allocations: 53.42 kB / 0.9574 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.6369, allocations: 38.77 kB / 0.9574 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.637, allocations: 337.1 kB / 0.9577 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.6373, allocations: 97.97 kB / 0.9578 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.6376, allocations: 139.7 kB / 0.958 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.6382, allocations: 244 kB / 0.9582 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6382, allocations: 0.875 kB / 0.9582 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007489/0.639, allocations: 299.7 kB / 0.9585 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.639, allocations: 5.406 kB / 0.9585 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.639, allocations: 2.25 kB / 0.9585 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.639, allocations: 6.031 kB / 0.9585 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.6393, allocations: 63.75 kB / 0.9585 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.6393, allocations: 6.125 kB / 0.9586 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.6395, allocations: 37.5 kB / 0.9586 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.6396, allocations: 14.02 kB / 0.9586 GB, free: 1.648 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.463e-05/0.6396, allocations: 131.5 kB / 0.9587 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6398, allocations: 24.22 kB / 0.9588 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.6405, allocations: 290.9 kB / 0.959 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6405, allocations: 6.875 kB / 0.959 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6405, allocations: 1.125 kB / 0.959 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6405, allocations: 0 / 0.959 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.6408, allocations: 294.5 kB / 0.9593 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6408, allocations: 3.984 kB / 0.9593 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.6411, allocations: 54.55 kB / 0.9594 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6411, allocations: 5.109 kB / 0.9594 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6411, allocations: 6.125 kB / 0.9594 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6411, allocations: 1.094 kB / 0.9594 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6411, allocations: 5.188 kB / 0.9594 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.6419, allocations: 443.2 kB / 0.9598 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.6419, allocations: 108.8 kB / 0.9599 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.642, allocations: 1.094 kB / 0.9599 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.6422, allocations: 25.59 kB / 0.9599 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.6423, allocations: 20.62 kB / 0.96 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6423, allocations: 4.5 kB / 0.96 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000148/0.6425, allocations: 190 kB / 0.9601 GB, free: 448 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6425, allocations: 4 kB / 0.9601 GB, free: 444 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003491/0.6428, allocations: 58.41 kB / 0.9602 GB, free: 432 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.00113/0.644, allocations: 0.9867 MB / 0.9612 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000753/0.6447, allocations: 233.6 kB / 0.9614 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6447, allocations: 0 / 0.9614 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.6451, allocations: 122 kB / 0.9615 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.6458, allocations: 69.83 kB / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.6502, allocations: 2.802 MB / 0.9643 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6505, allocations: 0.7479 MB / 0.965 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.6507, allocations: 28.81 kB / 0.9651 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6508, allocations: 84.09 kB / 0.9651 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.6508, allocations: 1.375 kB / 0.9652 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.434/1.085, allocations: 5.985 MB / 0.971 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.085, allocations: 216.5 kB / 0.9712 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.37, allocations: 0 / 0.9712 GB, free: 9.266 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