Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9787/0.9787, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.807/1.807, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.765e-05, allocations: 6.906 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002016/0.002044, allocations: 0.629 MB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.004938, allocations: 1.779 MB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.004966, allocations: 0 / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.005001, allocations: 4.5 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.005034, allocations: 5.625 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.006048, allocations: 311.1 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.006235, allocations: 128.8 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.006276, allocations: 8 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.006384, allocations: 66.11 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006497, allocations: 55.91 kB / 0.763 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.00652, allocations: 10.72 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005861/0.007106, allocations: 324.7 kB / 0.7633 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.007169, allocations: 51.38 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.00722, allocations: 23.97 kB / 0.7634 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.007735, allocations: 351 kB / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007738, allocations: 1.406 kB / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/0.00774, allocations: 0 / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.007744, allocations: 0 / 0.7637 GB, free: 2.914 MB / 0.7136 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.000584/0.008328, allocations: 341.6 kB / 0.764 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.008369, allocations: 12.91 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.008425, allocations: 16.92 kB / 0.7641 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.008506, allocations: 118.7 kB / 0.7642 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.008522, allocations: 8.375 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.008556, allocations: 12.38 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.008789, allocations: 163.9 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.008799, allocations: 3.938 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.008817, allocations: 5.781 kB / 0.7644 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.008825, allocations: 4 kB / 0.7644 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.008956, allocations: 63.86 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.009185, allocations: 152.1 kB / 0.7646 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.009672, allocations: 273 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.009794, allocations: 94.17 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.009969, allocations: 41.91 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.01, allocations: 42.5 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.01, allocations: 0.75 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0003606/0.01036, allocations: 182.8 kB / 0.7652 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.01045, allocations: 196.5 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.01053, allocations: 94.72 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01055, allocations: 35.73 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.01058, allocations: 80.64 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.01068, allocations: 103.1 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.01075, allocations: 49.67 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.01085, allocations: 326.8 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.01091, allocations: 27.39 kB / 0.766 GB, free: 264 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.011, allocations: 73.09 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01119, allocations: 139.8 kB / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01119, allocations: 0 / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002628/0.01146, allocations: 145.6 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01147, allocations: 4 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01148, allocations: 4 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01149, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.0117, allocations: 51.89 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01171, allocations: 10.41 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.01179, allocations: 15.89 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.01181, allocations: 11.98 kB / 0.7665 GB, free: 15.77 MB / 0.7292 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.0001027/0.01191, allocations: 132.6 kB / 0.7666 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.01195, allocations: 15.98 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.01229, allocations: 193.6 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.0123, allocations: 4.875 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.0123, allocations: 8.062 kB / 0.7668 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.01231, allocations: 9.141 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.0125, allocations: 121.7 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0125, allocations: 0 / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.01269, allocations: 56.78 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.0127, allocations: 4 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.01271, allocations: 10.27 kB / 0.767 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.01272, allocations: 7.938 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01272, allocations: 4 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01299, allocations: 190.9 kB / 0.7672 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.01306, allocations: 43.78 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01308, allocations: 11.94 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.01316, allocations: 7.938 kB / 0.7673 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.01321, allocations: 30.64 kB / 0.7673 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.01323, allocations: 11.98 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.139e-05/0.01324, allocations: 8.844 kB / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01324, allocations: 0 / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00042/0.01366, allocations: 99.86 kB / 0.7674 GB, free: 14.75 MB / 0.7292 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.0003962/0.01406, allocations: 197.5 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.0143, allocations: 133.5 kB / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01431, allocations: 0 / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01441, allocations: 78.56 kB / 0.7678 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.01454, allocations: 19.98 kB / 0.7678 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.01525, allocations: 290.5 kB / 0.7681 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.01531, allocations: 83.69 kB / 0.7682 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.01543, allocations: 38.05 kB / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01554, allocations: 79.34 kB / 0.7683 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of SimCode: time 8.91e-07/0.01554, allocations: 0 / 0.7683 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.005285/0.02083, allocations: 2.945 MB / 0.7712 GB, free: 10.98 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.859968347009271]