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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00693/0.00693, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.001509/0.001509, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.296/1.296, 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 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7903, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002845/0.7932, allocations: 1.613 MB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.7947, allocations: 0.9084 MB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.7948, allocations: 0 / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.7949, allocations: 11.86 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.7951, allocations: 27.78 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.7955, allocations: 139.6 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.7956, allocations: 75.7 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.7957, allocations: 11.86 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.7958, allocations: 39.86 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.7959, allocations: 35.83 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.7959, allocations: 4 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.7963, allocations: 291.6 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.7963, allocations: 11.92 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.7964, allocations: 31.75 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.7966, allocations: 153.9 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7966, allocations: 0 / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7966, allocations: 0 / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7966, allocations: 0 / 1.169 GB, free: 392 kB / 0.8887 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.000536/0.7972, allocations: 411.1 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.7972, allocations: 8.922 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.7973, allocations: 34.75 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.7974, allocations: 8.844 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.7976, allocations: 196.1 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7976, allocations: 4.375 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.7976, allocations: 8.375 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.7978, allocations: 61.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7978, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7978, allocations: 4 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7978, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.798, allocations: 39.97 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.7984, allocations: 304.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.7985, allocations: 54.55 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.7986, allocations: 24.97 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7986, allocations: 4 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.7987, allocations: 30.56 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 2.434e-06/0.7987, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0003377/0.799, allocations: 113.4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.7991, allocations: 55.39 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.7992, allocations: 132.3 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.7992, allocations: 25.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.7992, allocations: 96.12 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.7992, allocations: 11.89 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.7993, allocations: 25.7 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.7994, allocations: 326.8 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.7995, allocations: 19.98 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.7995, allocations: 19.98 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.7997, allocations: 61.2 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7997, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001928/0.7999, allocations: 93.52 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.7999, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7999, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7999, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8, allocations: 15.98 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8001, allocations: 3.984 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.8001, allocations: 15.83 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.8001, allocations: 4 kB / 1.172 GB, free: 13.98 MB / 0.9044 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.901e-05/0.8002, allocations: 117.8 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.8003, allocations: 4 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.8005, allocations: 109.8 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8005, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8005, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8005, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8007, allocations: 193.5 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8007, allocations: 4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.8008, allocations: 11.98 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8008, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.8008, allocations: 4 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8008, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8008, allocations: 3.984 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.8011, allocations: 191.4 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.8011, allocations: 93 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.8012, allocations: 3.984 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.8012, allocations: 11.94 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.8013, allocations: 3.984 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.8013, allocations: 4 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.8014, allocations: 101.6 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8014, allocations: 0 / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002335/0.8016, allocations: 20 kB / 1.172 GB, free: 13.01 MB / 0.9044 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.0005292/0.8021, allocations: 0.7396 MB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.8023, allocations: 51.97 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8023, allocations: 4 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.8024, allocations: 31.98 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.8027, allocations: 21.92 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.8041, allocations: 1.447 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.8044, allocations: 0.6961 MB / 1.175 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.8044, allocations: 4 kB / 1.175 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.8045, allocations: 23.42 kB / 1.175 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.8045, allocations: 0 / 1.175 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.8217, allocations: 2.314 MB / 1.178 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/8.315, allocations: 13.38 kB / 1.178 GB, free: 7.668 MB / 0.9044 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