Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001272/0.001272, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 68.48 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3423, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002002/0.3444, allocations: 0.6618 MB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3468, allocations: 1.728 MB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.3468, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3469, allocations: 7.984 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.3469, allocations: 3.938 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.3477, allocations: 271 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3479, allocations: 127.9 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.348, allocations: 11.98 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.3481, allocations: 51.84 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3482, allocations: 51.92 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3482, allocations: 8 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.3487, allocations: 291.6 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.3488, allocations: 43.89 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.3489, allocations: 43.72 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.3494, allocations: 275.4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3494, allocations: 0 / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3494, allocations: 0 / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3494, allocations: 4 kB / 1.056 GB, free: 5.031 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006987/0.3501, allocations: 439.3 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3501, allocations: 8.625 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.3502, allocations: 46.73 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3502, allocations: 12.84 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3504, allocations: 168.3 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3504, allocations: 24.31 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3504, allocations: 15.94 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3508, allocations: 219.1 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3508, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3508, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3509, allocations: 4 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.3511, allocations: 183.8 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.3514, allocations: 278 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.3522, allocations: 419.7 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.3524, allocations: 177.1 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.3527, allocations: 203.2 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3528, allocations: 38.56 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3528, allocations: 3.938 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006529/0.3534, allocations: 386.6 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.3536, allocations: 191.9 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.3536, allocations: 93.84 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3537, allocations: 29.7 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.3537, allocations: 80.7 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.3538, allocations: 110.5 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.3539, allocations: 53.62 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.354, allocations: 326.8 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3541, allocations: 84.06 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.3543, allocations: 145.1 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.3547, allocations: 257.2 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3547, allocations: 4 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004361/0.3551, allocations: 285.2 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3552, allocations: 12 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3552, allocations: 0 / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3552, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3554, allocations: 51.91 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3554, allocations: 11.92 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3556, allocations: 19.75 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3556, allocations: 12 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001218/0.3557, allocations: 137.8 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3558, allocations: 11.91 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.3564, allocations: 365.2 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3564, allocations: 4 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3564, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3564, allocations: 7.984 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3566, allocations: 257.3 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3567, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3569, allocations: 59.89 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3569, allocations: 3.938 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3569, allocations: 8 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3569, allocations: 8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3569, allocations: 3.938 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.3574, allocations: 345.4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.3575, allocations: 124.9 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3575, allocations: 8 kB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.3576, allocations: 11.98 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.3576, allocations: 23.91 kB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3577, allocations: 12 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.3577, allocations: 79.28 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3577, allocations: 0 / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003546/0.3581, allocations: 91.98 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.001014/0.3591, allocations: 0.9939 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.3595, allocations: 267.6 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3595, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3597, allocations: 141 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.3599, allocations: 16 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.3606, allocations: 487 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3608, allocations: 0.7088 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.3611, allocations: 105.4 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.3612, allocations: 47.41 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3612, allocations: 0 / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/0.7058, allocations: 4.007 MB / 1.068 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.7061, allocations: 262.1 kB / 1.068 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.056, allocations: 1.094 kB / 1.068 GB, free: 7.605 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches