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.001399/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001616/0.001616, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.03 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3424, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003451/0.3459, allocations: 1.672 MB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3475, allocations: 0.9235 MB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3477, allocations: 3.938 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.3478, allocations: 0 / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.3481, allocations: 23.84 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.3486, allocations: 123.7 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3488, allocations: 79.66 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3489, allocations: 12 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.349, allocations: 27.92 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3492, allocations: 47.77 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3492, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3497, allocations: 283.6 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.3497, allocations: 11.94 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3498, allocations: 31.8 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.35, allocations: 147.9 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.35, allocations: 0 / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3501, allocations: 0 / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3501, allocations: 0 / 1.056 GB, free: 5.266 MB / 0.8106 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.0005665/0.3506, allocations: 411.1 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3507, allocations: 12.62 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3507, allocations: 34.75 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3509, allocations: 16.83 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.351, allocations: 184.2 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3511, allocations: 4.375 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3511, allocations: 384 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3513, allocations: 73.72 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3513, allocations: 4 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3513, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3513, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.3515, allocations: 39.97 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.352, allocations: 300.7 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.3522, allocations: 58.48 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.3523, allocations: 36.91 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3523, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3523, allocations: 30.56 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.3523, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.3528, allocations: 109.6 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3529, allocations: 55.41 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.353, allocations: 135.1 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.353, allocations: 25.7 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.3531, allocations: 92.14 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3531, allocations: 23.8 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.3532, allocations: 21.72 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3533, allocations: 322.8 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.3534, allocations: 27.92 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.3535, allocations: 19.98 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3536, allocations: 52.83 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3536, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002374/0.3539, allocations: 97.56 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3539, allocations: 5.406 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3539, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3539, allocations: 4 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3541, allocations: 15.92 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3541, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.3541, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3541, allocations: 4 kB / 1.058 GB, free: 2.859 MB / 0.8106 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 9.098e-05/0.3542, allocations: 117.8 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3543, allocations: 11.89 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3546, allocations: 94.41 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3546, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3546, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3546, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3548, allocations: 193.6 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3548, allocations: 3.984 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.3549, allocations: 23.92 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3549, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3549, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3549, allocations: 3.938 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3549, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3552, allocations: 187.4 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3553, allocations: 85.02 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3553, allocations: 4 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3554, allocations: 4 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.3555, allocations: 7.984 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3555, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.3556, allocations: 100.8 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3556, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002612/0.3559, allocations: 23.94 kB / 1.059 GB, free: 1.914 MB / 0.8106 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.0007142/0.3566, allocations: 0.7474 MB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3568, allocations: 59.91 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3568, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.3569, allocations: 27.97 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3573, allocations: 12 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3591, allocations: 1.473 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3594, allocations: 0.6885 MB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.3595, allocations: 7.984 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.3595, allocations: 23.42 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3595, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/1.705, allocations: 2.157 MB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/1.706, allocations: 219.2 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/4.06, allocations: 12.75 kB / 1.064 GB, free: 12.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.mat","/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