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.01213/0.01213, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.002288/0.002288, allocations: 194.7 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.266/2.266, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 4.172/4.172, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002799, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5136, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002903/0.5166, allocations: 0.6052 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.5211, allocations: 1.721 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.5212, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.5213, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.5214, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.523, allocations: 307.2 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.5233, allocations: 131.9 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.5234, allocations: 7.984 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.5235, allocations: 43.97 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.5237, allocations: 63.84 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.5238, allocations: 8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.5247, allocations: 335.6 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.5248, allocations: 39.91 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.5249, allocations: 43.78 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.5256, allocations: 283.1 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5256, allocations: 0 / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5257, allocations: 0 / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.5257, allocations: 3.984 kB / 1.17 GB, free: 3.785 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.001284/0.527, allocations: 442.9 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.5271, allocations: 8.031 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.168e-05/0.5271, allocations: 46.73 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.5272, allocations: 16.83 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5274, allocations: 168.3 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.5275, allocations: 12.38 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.5276, allocations: 15.94 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.5282, allocations: 219.7 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5282, allocations: 3.938 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.5282, allocations: 4 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5283, allocations: 4 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.5289, allocations: 175.8 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.5295, allocations: 282.1 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5308, allocations: 411.7 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.5313, allocations: 185.2 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.5319, allocations: 203.1 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.532, allocations: 42.56 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.916e-06/0.532, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.001269/0.5333, allocations: 381.2 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.5335, allocations: 191.9 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5336, allocations: 93.86 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.5337, allocations: 29.7 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.5337, allocations: 80.7 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.5339, allocations: 111 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.5341, allocations: 53.69 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.5344, allocations: 322.8 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.5347, allocations: 95.92 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.535, allocations: 137.1 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.5357, allocations: 254.5 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5357, allocations: 4 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009122/0.5367, allocations: 297.5 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.5367, allocations: 8 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5367, allocations: 0 / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.5368, allocations: 8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.5372, allocations: 55.89 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.5372, allocations: 4 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.5374, allocations: 15.89 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.5375, allocations: 15.98 kB / 1.174 GB, free: 15.05 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.0002125/0.5377, allocations: 141.6 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.5378, allocations: 15.89 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.5388, allocations: 360.8 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.5388, allocations: 8 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5388, allocations: 0 / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5388, allocations: 4 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.5393, allocations: 257.9 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5393, allocations: 0 / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.5397, allocations: 63.89 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5397, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.5397, allocations: 15.98 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.5397, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.5397, allocations: 4 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.5406, allocations: 345 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.5407, allocations: 120.9 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.5408, allocations: 7.984 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5409, allocations: 8 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.541, allocations: 23.97 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.5411, allocations: 15.98 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.5412, allocations: 79.28 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5412, allocations: 0 / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007051/0.5419, allocations: 87.88 kB / 1.175 GB, free: 13.41 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.001998/0.5439, allocations: 1.005 MB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.5446, allocations: 256.2 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5446, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.545, allocations: 135.8 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5453, allocations: 19.98 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5466, allocations: 439.7 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.5472, allocations: 0.7162 MB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003952/0.5476, allocations: 109.4 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.5478, allocations: 43.41 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of SimCode: time 1.092e-06/0.5478, allocations: 0 / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.5832, allocations: 4.118 MB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.65, allocations: 7.891 kB / 1.182 GB, free: 6.578 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