Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_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.001617/0.001617, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 197 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6349, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001588/0.6365, allocations: 0.5903 MB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.6383, allocations: 1.717 MB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.6384, allocations: 1.125 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.6384, allocations: 0 / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.6384, allocations: 0 / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.6392, allocations: 304 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.6393, allocations: 134.8 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.6394, allocations: 3.219 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.6395, allocations: 48.11 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.6396, allocations: 61.77 kB / 0.9525 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.6396, allocations: 6.094 kB / 0.9525 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.64, allocations: 289.7 kB / 0.9528 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.64, allocations: 37.97 kB / 0.9528 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.6401, allocations: 44.73 kB / 0.9529 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.6404, allocations: 274.2 kB / 0.9531 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6404, allocations: 0 / 0.9531 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6405, allocations: 4 kB / 0.9531 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6405, allocations: 1.25 kB / 0.9531 GB, free: 6.629 MB / 0.7169 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.0005498/0.641, allocations: 450.3 kB / 0.9536 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6411, allocations: 13.84 kB / 0.9536 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.6411, allocations: 43.25 kB / 0.9536 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.6412, allocations: 14.42 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.6412, allocations: 174.3 kB / 0.9538 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6412, allocations: 12.75 kB / 0.9538 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.6413, allocations: 11.66 kB / 0.9538 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.6416, allocations: 207.8 kB / 0.954 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6416, allocations: 5.141 kB / 0.954 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.6416, allocations: 10.25 kB / 0.954 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6416, allocations: 6.438 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.6419, allocations: 175.8 kB / 0.9542 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.6421, allocations: 283.1 kB / 0.9545 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.6428, allocations: 409.6 kB / 0.9549 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.643, allocations: 183.8 kB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.6432, allocations: 199.1 kB / 0.9552 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.6433, allocations: 45.98 kB / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.6433, allocations: 0 / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005919/0.6439, allocations: 386.5 kB / 0.9557 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.6439, allocations: 187.9 kB / 0.9558 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.801e-05/0.6439, allocations: 94.95 kB / 0.9559 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.644, allocations: 32.3 kB / 0.956 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.644, allocations: 80.7 kB / 0.956 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.6441, allocations: 104.1 kB / 0.9561 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.6441, allocations: 54.91 kB / 0.9562 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.6442, allocations: 330.8 kB / 0.9565 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.6443, allocations: 81.66 kB / 0.9566 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.6445, allocations: 147.7 kB / 0.9567 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.6448, allocations: 258.9 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6448, allocations: 1.656 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003915/0.6452, allocations: 292.2 kB / 0.9572 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6452, allocations: 6.25 kB / 0.9572 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6452, allocations: 1.094 kB / 0.9572 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6453, allocations: 2.25 kB / 0.9573 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.6455, allocations: 59.16 kB / 0.9573 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6455, allocations: 2.75 kB / 0.9573 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6456, allocations: 19.95 kB / 0.9573 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.6456, allocations: 12.19 kB / 0.9573 GB, free: 3.172 MB / 0.7169 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 8.037e-05/0.6457, allocations: 146.1 kB / 0.9575 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.6458, allocations: 13.41 kB / 0.9575 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.6463, allocations: 360.8 kB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6463, allocations: 4.156 kB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6463, allocations: 1.906 kB / 0.9578 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6463, allocations: 4.984 kB / 0.9578 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.6465, allocations: 257.9 kB / 0.9581 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6465, allocations: 1.594 kB / 0.9581 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.6467, allocations: 58.03 kB / 0.9581 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6467, allocations: 7.281 kB / 0.9582 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6468, allocations: 16.36 kB / 0.9582 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6468, allocations: 2.25 kB / 0.9582 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6468, allocations: 2.438 kB / 0.9582 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.6472, allocations: 340.1 kB / 0.9585 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.6473, allocations: 122.6 kB / 0.9586 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.6473, allocations: 7.281 kB / 0.9586 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.6474, allocations: 10.25 kB / 0.9586 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.6475, allocations: 23.81 kB / 0.9587 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.6475, allocations: 16.61 kB / 0.9587 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.531e-05/0.6475, allocations: 76.34 kB / 0.9587 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6475, allocations: 4.094 kB / 0.9587 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003858/0.6479, allocations: 97.7 kB / 0.9588 GB, free: 2.059 MB / 0.7169 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.0009269/0.6488, allocations: 0.9694 MB / 0.9598 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.6493, allocations: 274.1 kB / 0.9601 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6493, allocations: 0 / 0.9601 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.6494, allocations: 141.6 kB / 0.9602 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.6496, allocations: 16.73 kB / 0.9602 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.6503, allocations: 436.7 kB / 0.9606 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.6505, allocations: 0.7183 MB / 0.9613 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.6507, allocations: 105.1 kB / 0.9614 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.6508, allocations: 41.64 kB / 0.9615 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6508, allocations: 0 / 0.9615 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.6703, allocations: 4.071 MB / 0.9654 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.219, allocations: 7.469 kB / 0.9654 GB, free: 13.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches