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.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.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.006876/0.006877, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001443/0.001443, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.628/2.628, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002595/0.2995, allocations: 1.62 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3008, allocations: 0.9035 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.3009, allocations: 4 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.301, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3012, allocations: 31.72 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3015, allocations: 139.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3017, allocations: 79.64 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.3018, allocations: 19.98 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.3019, allocations: 27.92 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.302, allocations: 43.77 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.302, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.3024, allocations: 275.7 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.3024, allocations: 15.92 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3024, allocations: 31.8 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3027, allocations: 147.5 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3027, allocations: 4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3027, allocations: 4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3027, allocations: 0 / 1.223 GB, free: 11.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004937/0.3032, allocations: 410.8 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3032, allocations: 8.031 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3033, allocations: 34.75 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3034, allocations: 12.89 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3036, allocations: 192.2 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.3036, allocations: 8.312 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3036, allocations: 4.375 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3038, allocations: 61.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3038, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3038, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3038, allocations: 3.938 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.304, allocations: 43.95 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3044, allocations: 304.7 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3045, allocations: 58.48 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.395e-05/0.3046, allocations: 28.97 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3046, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3046, allocations: 38.56 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3046, allocations: 0 / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.305, allocations: 109.6 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.305, allocations: 55.34 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.3051, allocations: 131.7 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3051, allocations: 25.7 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3052, allocations: 92.14 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.3052, allocations: 31.91 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3053, allocations: 17.72 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.3053, allocations: 322.8 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.3054, allocations: 23.98 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.3055, allocations: 23.92 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3056, allocations: 52.83 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3056, allocations: 4 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002017/0.3059, allocations: 93.56 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3059, allocations: 7.984 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3059, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3059, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.306, allocations: 15.98 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.306, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.3061, allocations: 7.938 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3061, allocations: 4 kB / 1.225 GB, free: 8.875 MB / 0.9825 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 6.898e-05/0.3062, allocations: 118.3 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.3062, allocations: 7.953 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3065, allocations: 105.9 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3065, allocations: 4 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3065, allocations: 0 / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3065, allocations: 0 / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3067, allocations: 186.1 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3067, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.3068, allocations: 19.94 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3068, allocations: 4 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3068, allocations: 3.984 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3068, allocations: 0 / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3068, allocations: 4 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.307, allocations: 191.4 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.3071, allocations: 81.06 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3071, allocations: 7.938 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.3072, allocations: 0 / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3072, allocations: 7.984 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3072, allocations: 0 / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.3073, allocations: 104.8 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3073, allocations: 0 / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002324/0.3075, allocations: 23.94 kB / 1.226 GB, free: 7.922 MB / 0.9825 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.0005199/0.308, allocations: 0.7358 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3083, allocations: 59.91 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3083, allocations: 0 / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.3083, allocations: 31.98 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3086, allocations: 17.98 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.31, allocations: 1.464 MB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.3102, allocations: 0.6924 MB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3102, allocations: 7.984 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.3103, allocations: 27.42 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3103, allocations: 0 / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.3264, allocations: 2.322 MB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.517, allocations: 8.5 kB / 1.231 GB, free: 2.582 MB / 0.9825 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