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.007693/0.007693, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001639/0.001639, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.153/2.153, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.88 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.829, allocations: 140.4 MB / 1.088 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001669/0.8307, allocations: 0.5946 MB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.833, allocations: 1.724 MB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.833, allocations: 0.6875 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.8331, allocations: 0.7031 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.8331, allocations: 1.094 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.8341, allocations: 306.8 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.8344, allocations: 130.6 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.8344, allocations: 2.781 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.8345, allocations: 47.69 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.8347, allocations: 63.3 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.8347, allocations: 5.781 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.8353, allocations: 344.9 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.8353, allocations: 40.55 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.8354, allocations: 41.62 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.8359, allocations: 282.5 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8359, allocations: 0 / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8359, allocations: 0.875 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8359, allocations: 0 / 1.091 GB, free: 3.121 MB / 0.8575 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.0006765/0.8366, allocations: 452.5 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8367, allocations: 9.438 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.8367, allocations: 47.17 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.8368, allocations: 17.94 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.8368, allocations: 175.3 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.8369, allocations: 9.312 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.8369, allocations: 12.09 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.8373, allocations: 222.7 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8373, allocations: 0.9688 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.8373, allocations: 4.969 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8373, allocations: 4.344 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.8377, allocations: 179.1 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.838, allocations: 279.9 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.8388, allocations: 411 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.8391, allocations: 184.4 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.8395, allocations: 198.1 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.8395, allocations: 42.89 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.8395, allocations: 0 / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007819/0.8403, allocations: 385.4 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.8404, allocations: 186.1 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.568e-05/0.8404, allocations: 91.95 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.8405, allocations: 31.05 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.8405, allocations: 84.7 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.8406, allocations: 112.8 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.8407, allocations: 52.03 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.8407, allocations: 329 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.8409, allocations: 90.38 kB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.8411, allocations: 137.5 kB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.8415, allocations: 259.8 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8415, allocations: 0 / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005085/0.842, allocations: 287 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8421, allocations: 7.75 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8421, allocations: 0.6875 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.8421, allocations: 3.094 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.8424, allocations: 55.69 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8424, allocations: 7.078 kB / 1.095 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.8425, allocations: 16.75 kB / 1.095 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.8425, allocations: 15.47 kB / 1.095 GB, free: 92 kB / 0.8575 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.0001296/0.8427, allocations: 142.3 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.8427, allocations: 19.3 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.8434, allocations: 354.9 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.8434, allocations: 4.281 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8434, allocations: 6.375 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.8434, allocations: 3.469 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.8438, allocations: 265.4 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8438, allocations: 1.812 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.844, allocations: 55.38 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.844, allocations: 3.656 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.8441, allocations: 11.69 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8441, allocations: 2.812 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8441, allocations: 1.844 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.8447, allocations: 352.8 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.8448, allocations: 118.2 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.8449, allocations: 7.484 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.8449, allocations: 7.016 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.845, allocations: 32.2 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.845, allocations: 11.33 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.8451, allocations: 77.09 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8451, allocations: 3.938 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004837/0.8456, allocations: 96.19 kB / 1.097 GB, free: 15.15 MB / 0.8731 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.001217/0.8468, allocations: 0.9779 MB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.8473, allocations: 262.1 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8473, allocations: 0 / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.8475, allocations: 136.5 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.8477, allocations: 22.86 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.8486, allocations: 436.8 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.8488, allocations: 0.7204 MB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.8491, allocations: 108.8 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.8492, allocations: 41.05 kB / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8492, allocations: 0 / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.8711, allocations: 4.119 MB / 1.103 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.226, allocations: 11.3 kB / 1.103 GB, free: 12.71 MB / 0.8731 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