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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008137, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005965/0.005965, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.399/2.399, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7241, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006904/0.7248, allocations: 330.1 kB / 0.9554 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.7268, allocations: 1.751 MB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.7269, allocations: 0 / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.7269, allocations: 0 / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.7269, allocations: 5 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.7277, allocations: 249.8 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.7278, allocations: 126.3 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.7279, allocations: 3.594 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.7279, allocations: 42.69 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.728, allocations: 58.11 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.7281, allocations: 9.781 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.7285, allocations: 297.5 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.7285, allocations: 33.36 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.7286, allocations: 70.38 kB / 0.9579 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.7289, allocations: 273.9 kB / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7289, allocations: 0 / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7289, allocations: 0 / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7289, allocations: 0 / 0.9582 GB, free: 5.422 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.0005331/0.7295, allocations: 422.1 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7295, allocations: 9.375 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.7295, allocations: 10.91 kB / 0.9586 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.102e-05/0.7296, allocations: 173.7 kB / 0.9588 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.7296, allocations: 13.59 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.7297, allocations: 11.84 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.73, allocations: 218.6 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.73, allocations: 1.375 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.73, allocations: 5.375 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.73, allocations: 8.109 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.7303, allocations: 178.7 kB / 0.9592 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.7305, allocations: 279.4 kB / 0.9595 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.7311, allocations: 409.4 kB / 0.9599 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.7313, allocations: 179.3 kB / 0.96 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.7316, allocations: 197.3 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.7317, allocations: 49.92 kB / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.7317, allocations: 0 / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006265/0.7323, allocations: 385.4 kB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.7323, allocations: 187.3 kB / 0.9608 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.699e-05/0.7324, allocations: 95.89 kB / 0.9609 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7324, allocations: 34.8 kB / 0.9609 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.7324, allocations: 81.83 kB / 0.961 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.7325, allocations: 106.7 kB / 0.9611 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.7326, allocations: 25.75 kB / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.7326, allocations: 322 kB / 0.9614 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.7327, allocations: 85.17 kB / 0.9615 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.7329, allocations: 141.5 kB / 0.9617 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.7332, allocations: 270.1 kB / 0.9619 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7332, allocations: 5.219 kB / 0.9619 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003894/0.7336, allocations: 281 kB / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7336, allocations: 5.188 kB / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.7336, allocations: 1.344 kB / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7337, allocations: 2.719 kB / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.7339, allocations: 61.52 kB / 0.9623 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7339, allocations: 7.531 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.734, allocations: 15.78 kB / 0.9623 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.734, allocations: 13.77 kB / 0.9623 GB, free: 2.051 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.649e-05/0.7341, allocations: 136.8 kB / 0.9624 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.7342, allocations: 14.59 kB / 0.9624 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005532/0.7347, allocations: 363.8 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.7347, allocations: 5.062 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7348, allocations: 5.375 kB / 0.9628 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7348, allocations: 5.312 kB / 0.9628 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.735, allocations: 254.2 kB / 0.963 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.735, allocations: 1.031 kB / 0.963 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.7352, allocations: 62.17 kB / 0.9631 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7352, allocations: 2.438 kB / 0.9631 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.7352, allocations: 12.8 kB / 0.9631 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7352, allocations: 2.062 kB / 0.9631 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7352, allocations: 2.031 kB / 0.9631 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.7356, allocations: 351.4 kB / 0.9635 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.7357, allocations: 128.9 kB / 0.9636 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.7357, allocations: 4 kB / 0.9636 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.7358, allocations: 9.531 kB / 0.9636 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.7359, allocations: 23.97 kB / 0.9636 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.7359, allocations: 12.77 kB / 0.9636 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.7359, allocations: 80.88 kB / 0.9637 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7359, allocations: 0 / 0.9637 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000404/0.7363, allocations: 97.23 kB / 0.9638 GB, free: 0.9375 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.0005095/0.7369, allocations: 216.9 kB / 0.964 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.7372, allocations: 244.3 kB / 0.9642 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7373, allocations: 1.219 kB / 0.9642 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.7374, allocations: 136.2 kB / 0.9644 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.7376, allocations: 18.3 kB / 0.9644 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.7381, allocations: 399.6 kB / 0.9648 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.7384, allocations: 0.7139 MB / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.7386, allocations: 105.5 kB / 0.9656 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.7387, allocations: 29.45 kB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7387, allocations: 4 kB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.005693/0.7444, allocations: 2.486 MB / 0.968 GB, free: 14.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/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