Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.3 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3233, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003187/0.3266, allocations: 1.611 MB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3282, allocations: 0.9091 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3283, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.3284, allocations: 7.875 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3286, allocations: 27.78 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.3291, allocations: 135.6 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3293, allocations: 79.7 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3294, allocations: 15.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3295, allocations: 31.86 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3297, allocations: 35.84 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3297, allocations: 4 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.3301, allocations: 283.6 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.3302, allocations: 15.92 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3302, allocations: 31.81 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3306, allocations: 151.9 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3306, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3306, allocations: 3.938 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3306, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007039/0.3313, allocations: 407.1 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3314, allocations: 8.031 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.3315, allocations: 38.75 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3316, allocations: 12.84 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3318, allocations: 198 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3319, allocations: 384 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3319, allocations: 4.375 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3321, allocations: 61.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3321, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3321, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3321, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3323, allocations: 47.97 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.3328, allocations: 296.7 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.333, allocations: 54.55 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.3331, allocations: 36.91 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3331, allocations: 7.984 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3331, allocations: 30.56 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3331, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003834/0.3335, allocations: 105.7 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3336, allocations: 51.41 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3337, allocations: 133.8 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3337, allocations: 29.7 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3338, allocations: 92.12 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3338, allocations: 19.83 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3339, allocations: 21.7 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.334, allocations: 322.8 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.3341, allocations: 28.03 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.3341, allocations: 23.98 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3343, allocations: 52.83 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3343, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002179/0.3345, allocations: 93.52 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3345, allocations: 6.031 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3346, allocations: 0 / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3346, allocations: 0 / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3347, allocations: 19.98 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3347, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.3348, allocations: 7.984 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3348, allocations: 0 / 1.069 GB, free: 8.797 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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 7.694e-05/0.3349, allocations: 117.8 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.3349, allocations: 7.906 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3352, allocations: 109.8 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3352, allocations: 8 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3352, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3352, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3354, allocations: 189.5 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3354, allocations: 0 / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.3355, allocations: 15.98 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3355, allocations: 256 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3355, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3356, allocations: 8 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3356, allocations: 3.938 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3358, allocations: 191.4 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3359, allocations: 85.02 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3359, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.336, allocations: 7.984 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.336, allocations: 4 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3361, allocations: 7.984 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.3361, allocations: 99.27 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002614/0.3364, allocations: 35.84 kB / 1.07 GB, free: 7.824 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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.0006025/0.337, allocations: 0.7246 MB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3372, allocations: 59.95 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3372, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.3373, allocations: 35.92 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3377, allocations: 11.89 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3393, allocations: 1.439 MB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3396, allocations: 0.6924 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.072e-05/0.3396, allocations: 7.984 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.3397, allocations: 24.81 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3397, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.3593, allocations: 2.288 MB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.686, allocations: 8.312 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches