Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_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.00111/0.00111, 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.001115/0.001115, allocations: 191.9 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 437 MB / 0.7099 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4925, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002468/0.495, allocations: 1.675 MB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4962, allocations: 0.9359 MB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.4963, allocations: 8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.4963, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.4965, allocations: 27.72 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.4967, allocations: 95.88 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4969, allocations: 71.59 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.4969, allocations: 16 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.497, allocations: 27.91 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.4971, allocations: 39.78 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.4971, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.4975, allocations: 287.6 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.4975, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.4975, allocations: 31.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.4977, allocations: 145.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4978, allocations: 7.984 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.71e-07/0.4978, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.4978, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 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.0004769/0.4982, allocations: 407.2 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4983, allocations: 8.031 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.4983, allocations: 38.75 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.4984, allocations: 8.922 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4986, allocations: 192.1 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.4986, allocations: 4.375 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.4986, allocations: 4.375 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4988, allocations: 69.72 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4988, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.4988, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.4988, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4989, allocations: 39.97 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.4993, allocations: 296.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4995, allocations: 54.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.4995, allocations: 24.97 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4996, allocations: 16.06 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4996, allocations: 30.56 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4996, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003145/0.4999, allocations: 105.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.5, allocations: 51.41 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.5, allocations: 131.5 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5001, allocations: 33.7 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.5001, allocations: 95.98 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.5001, allocations: 19.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.5002, allocations: 13.72 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.5003, allocations: 330.7 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.5004, allocations: 23.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.5004, allocations: 20.23 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5006, allocations: 64.89 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5006, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001994/0.5008, allocations: 89.56 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5008, allocations: 6.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.5008, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.5008, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.501, allocations: 23.92 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.501, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.501, allocations: 8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.501, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 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.227e-05/0.5011, allocations: 118.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.5012, allocations: 11.89 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.5014, allocations: 93.97 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5014, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5014, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5014, allocations: 3.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.5016, allocations: 185.5 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5016, allocations: 3.938 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.5017, allocations: 19.92 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5017, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.5017, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5017, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5017, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.502, allocations: 191.5 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.502, allocations: 89.02 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.502, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.5021, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.5022, allocations: 3.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.5022, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.5022, allocations: 99.27 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5022, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002458/0.5025, allocations: 20 kB / 1.023 GB, free: 12.02 MB / 0.7794 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.0005238/0.503, allocations: 0.7396 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.5032, allocations: 55.91 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.5032, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.5033, allocations: 35.97 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5036, allocations: 11.94 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.505, allocations: 1.467 MB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5052, allocations: 0.695 MB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.5053, allocations: 8 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.5053, allocations: 23.42 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5053, allocations: 0 / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.142/2.647, allocations: 2.089 MB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/2.647, allocations: 222 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/4.369, allocations: 4.062 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches