Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EpsilonNTUZ,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_10_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.008784/0.008784, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.0024/0.0024, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.476/2.476, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3038, allocations: 151.6 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001795/0.3057, allocations: 0.5912 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3082, allocations: 1.717 MB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.3083, allocations: 3.938 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.3083, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.3084, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3094, allocations: 314.7 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3096, allocations: 131.9 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3097, allocations: 7.984 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.3098, allocations: 51.95 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3099, allocations: 55.86 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.3099, allocations: 4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.3105, allocations: 335.6 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.3105, allocations: 39.91 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.3106, allocations: 51.77 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.3111, allocations: 271.2 kB / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3112, allocations: 0 / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3112, allocations: 0 / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.3112, allocations: 0 / 1.17 GB, free: 3.867 MB / 0.92 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.0007188/0.3119, allocations: 446.8 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.312, allocations: 8.031 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.312, allocations: 50.73 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.3121, allocations: 16.83 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3122, allocations: 168.3 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3122, allocations: 12.38 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3122, allocations: 19.94 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.3126, allocations: 219.6 kB / 1.171 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3126, allocations: 7.922 kB / 1.171 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3126, allocations: 4 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3126, allocations: 4 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.3129, allocations: 179.7 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.3132, allocations: 282.1 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.314, allocations: 415.7 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.3142, allocations: 177.2 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.3146, allocations: 199.2 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3146, allocations: 42.5 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.3146, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.0006457/0.3153, allocations: 386.5 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.3154, allocations: 191.8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.3155, allocations: 93.86 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3155, allocations: 29.7 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.3155, allocations: 80.7 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/0.3156, allocations: 111 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.3157, allocations: 53.69 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.3158, allocations: 322.8 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.316, allocations: 91.92 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3161, allocations: 137.2 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.3165, allocations: 261.2 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3165, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000432/0.3169, allocations: 289.3 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.317, allocations: 9.875 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.317, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.317, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3172, allocations: 55.89 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3172, allocations: 4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.3173, allocations: 16.27 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3174, allocations: 15.98 kB / 1.174 GB, free: 15.12 MB / 0.9356 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.0001158/0.3175, allocations: 138.4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3175, allocations: 11.95 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.3181, allocations: 372.8 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3181, allocations: 4 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3182, allocations: 3.938 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3182, allocations: 4 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3184, allocations: 261.3 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3184, allocations: 0 / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.3186, allocations: 59.89 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3187, allocations: 3.984 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3187, allocations: 11.98 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3187, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3187, allocations: 8 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.3192, allocations: 345.4 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3193, allocations: 124.9 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3193, allocations: 12 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.3194, allocations: 4 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3195, allocations: 19.97 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3195, allocations: 15.98 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.3195, allocations: 79.28 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3195, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003782/0.3199, allocations: 91.86 kB / 1.175 GB, free: 13.46 MB / 0.9356 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.001079/0.321, allocations: 0.9881 MB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3214, allocations: 252 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3214, allocations: 0 / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3216, allocations: 140.8 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.3218, allocations: 13.41 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.3227, allocations: 444.3 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3229, allocations: 0.7201 MB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.3232, allocations: 109.4 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3232, allocations: 43.41 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3232, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.3429, allocations: 4.109 MB / 1.182 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.537, allocations: 14.64 kB / 1.182 GB, free: 6.645 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches