Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009571/0.0009571, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00109/0.00109, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9968/0.9968, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.82/1.82, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.471e-05, allocations: 6.641 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001493/0.001527, allocations: 0.6178 MB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.003895, allocations: 1.773 MB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.003924, allocations: 5.344 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.003975, allocations: 0 / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.004026, allocations: 7.938 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.004942, allocations: 318.6 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.005114, allocations: 128.5 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.005163, allocations: 4 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.005253, allocations: 61.59 kB / 0.79 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.005347, allocations: 55.91 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.005375, allocations: 8 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.005783, allocations: 331.4 kB / 0.7903 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.005831, allocations: 45.23 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.005878, allocations: 27.91 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.006234, allocations: 351.1 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006238, allocations: 5.594 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/0.00624, allocations: 0 / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.006246, allocations: 0 / 0.7908 GB, free: 8.75 MB / 0.7448 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.0005505/0.006797, allocations: 472.9 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.006845, allocations: 11.44 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.006911, allocations: 24.84 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.006991, allocations: 120.5 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.007006, allocations: 8.375 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.007029, allocations: 16.31 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.007256, allocations: 184.2 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.007268, allocations: 7.938 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.007283, allocations: 0 / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.007293, allocations: 4 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.007424, allocations: 96.36 kB / 0.7917 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.007648, allocations: 207.7 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.008151, allocations: 363.8 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.008281, allocations: 127.4 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.008526, allocations: 44.95 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.008561, allocations: 46.77 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.008563, allocations: 0 / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004686/0.009032, allocations: 258.6 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.009112, allocations: 193 kB / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.009204, allocations: 153.9 kB / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.009223, allocations: 29.7 kB / 0.793 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.009263, allocations: 132.2 kB / 0.7931 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.009356, allocations: 103.1 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.009425, allocations: 63.84 kB / 0.7933 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.009562, allocations: 0.4937 MB / 0.7938 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.009631, allocations: 39.97 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.009744, allocations: 114.6 kB / 0.7939 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.009938, allocations: 174.2 kB / 0.7941 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.009942, allocations: 6.297 kB / 0.7941 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002543/0.0102, allocations: 209.4 kB / 0.7943 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01021, allocations: 8 kB / 0.7943 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01022, allocations: 0 / 0.7943 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.01024, allocations: 11.92 kB / 0.7943 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01039, allocations: 55.89 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.0104, allocations: 7.438 kB / 0.7944 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.01045, allocations: 15.89 kB / 0.7944 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01047, allocations: 15.98 kB / 0.7944 GB, free: 4.609 MB / 0.7448 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 9.339e-05/0.01056, allocations: 172.5 kB / 0.7946 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.01059, allocations: 23.91 kB / 0.7946 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.01095, allocations: 257.7 kB / 0.7948 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.01096, allocations: 11.94 kB / 0.7949 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.01096, allocations: 7.922 kB / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01097, allocations: 0 / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.01112, allocations: 177.2 kB / 0.795 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.01113, allocations: 4 kB / 0.795 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.01126, allocations: 56.39 kB / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01127, allocations: 4.562 kB / 0.7951 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01128, allocations: 8 kB / 0.7951 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.01129, allocations: 4.562 kB / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01129, allocations: 9.25 kB / 0.7951 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.01159, allocations: 284 kB / 0.7954 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.01166, allocations: 43.84 kB / 0.7954 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01168, allocations: 4 kB / 0.7954 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.01173, allocations: 8.562 kB / 0.7954 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.01177, allocations: 33.36 kB / 0.7955 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.01178, allocations: 15.98 kB / 0.7955 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.01182, allocations: 123.2 kB / 0.7956 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 0.7956 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004118/0.01223, allocations: 96.92 kB / 0.7957 GB, free: 3.203 MB / 0.7448 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.000366/0.0126, allocations: 215.7 kB / 0.7959 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01287, allocations: 169.2 kB / 0.7961 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01287, allocations: 0 / 0.7961 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.01297, allocations: 99.5 kB / 0.7962 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.01312, allocations: 17.33 kB / 0.7962 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.01358, allocations: 317.6 kB / 0.7965 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.01363, allocations: 83.83 kB / 0.7966 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.01378, allocations: 89.61 kB / 0.7966 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.01384, allocations: 25.42 kB / 0.7967 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.01384, allocations: 3.938 kB / 0.7967 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.0048/0.01864, allocations: 2.558 MB / 0.7992 GB, free: 15.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.4137994479388]