Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_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.009033/0.009033, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001868/0.001869, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.397/2.397, allocations: 469.4 MB / 0.7421 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7196, allocations: 159.1 MB / 1.22 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00337/0.723, allocations: 2.154 MB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.7247, allocations: 1.041 MB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.7249, allocations: 4 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.863e-05/0.725, allocations: 27.66 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.7254, allocations: 83.23 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.7259, allocations: 187.6 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000354/0.7263, allocations: 302.7 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.7265, allocations: 56.7 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.7266, allocations: 107.6 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.7269, allocations: 143.4 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.7269, allocations: 20 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.7273, allocations: 299.6 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.7274, allocations: 51.72 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.7275, allocations: 119.3 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.7279, allocations: 334.3 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.728, allocations: 3.984 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.728, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.728, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 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.001036/0.729, allocations: 0.6306 MB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7291, allocations: 16.56 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.7291, allocations: 46.73 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.7293, allocations: 44.7 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.7298, allocations: 279.7 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7298, allocations: 16.66 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.7298, allocations: 12.38 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.7303, allocations: 236.7 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7303, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.7304, allocations: 8 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7304, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.731, allocations: 199.7 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.7321, allocations: 0.9463 MB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.7328, allocations: 241.2 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.7332, allocations: 105.9 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7332, allocations: 3.984 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.7332, allocations: 42.48 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.7332, allocations: 4 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.001127/0.7344, allocations: 333.2 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7344, allocations: 81.11 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.7347, allocations: 271 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.7347, allocations: 25.7 kB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.7348, allocations: 160.3 kB / 1.228 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.7348, allocations: 59.48 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.7349, allocations: 37.7 kB / 1.228 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.735, allocations: 342.8 kB / 1.229 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.7353, allocations: 87.91 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.7357, allocations: 140.8 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.7363, allocations: 249.7 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7363, allocations: 0 / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008068/0.7372, allocations: 297.7 kB / 1.229 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7372, allocations: 4 kB / 1.229 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.7372, allocations: 7.984 kB / 1.229 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7372, allocations: 0 / 1.229 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.7375, allocations: 68.05 kB / 1.229 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.7375, allocations: 4 kB / 1.229 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.7378, allocations: 39.8 kB / 1.229 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.7378, allocations: 15.94 kB / 1.229 GB, free: 7.992 MB / 0.9512 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.0001105/0.7379, allocations: 130.3 kB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.738, allocations: 27.8 kB / 1.23 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.7388, allocations: 291.2 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7388, allocations: 8 kB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7388, allocations: 0 / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7388, allocations: 0 / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.7392, allocations: 301.3 kB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.7392, allocations: 7.984 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.7394, allocations: 51.95 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7395, allocations: 0 / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7395, allocations: 7.984 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.7395, allocations: 0 / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7395, allocations: 288 / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.7403, allocations: 452.2 kB / 1.231 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.7404, allocations: 112.8 kB / 1.231 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.7404, allocations: 0 / 1.231 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.7407, allocations: 27.97 kB / 1.231 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.7407, allocations: 15.97 kB / 1.231 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.7407, allocations: 12 kB / 1.231 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001504/0.7409, allocations: 186 kB / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.7409, allocations: 0 / 1.231 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003506/0.7413, allocations: 56 kB / 1.231 GB, free: 6.242 MB / 0.9512 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.001103/0.7424, allocations: 0.9925 MB / 1.232 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000743/0.7431, allocations: 226.2 kB / 1.232 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7431, allocations: 0 / 1.232 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.7435, allocations: 119.8 kB / 1.232 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.744, allocations: 77.34 kB / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.7477, allocations: 2.722 MB / 1.235 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.748, allocations: 0.752 MB / 1.236 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.7482, allocations: 38.27 kB / 1.236 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7483, allocations: 83.41 kB / 1.236 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.7483, allocations: 0 / 1.236 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.771, allocations: 6.566 MB / 1.242 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.389, allocations: 11.81 kB / 1.242 GB, free: 10.68 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches