Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001063/0.001063, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009906/0.0009906, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.061/2.061, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.626e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001258/0.001285, allocations: 0.6147 MB / 0.8788 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.003364, allocations: 1.786 MB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.003392, allocations: 0.875 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.003438, allocations: 7.922 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.003477, allocations: 1.344 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.004236, allocations: 310 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.004406, allocations: 129.1 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.004456, allocations: 7.984 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.004543, allocations: 63.86 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.004636, allocations: 59.23 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.004658, allocations: 4 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.005039, allocations: 331.5 kB / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.005089, allocations: 39.89 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.005141, allocations: 35.89 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.00553, allocations: 351.1 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005532, allocations: 0 / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005534, allocations: 0 / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.00554, allocations: 0 / 0.8818 GB, free: 2.551 MB / 0.8386 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.0008624/0.006402, allocations: 478 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.006444, allocations: 12.03 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.006499, allocations: 20.89 kB / 0.8823 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.006569, allocations: 120.5 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.00658, allocations: 8.375 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.006598, allocations: 15.94 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.006815, allocations: 189.1 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006825, allocations: 0 / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.006841, allocations: 8 kB / 0.8827 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.006851, allocations: 0 / 0.8827 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.00698, allocations: 99.78 kB / 0.8828 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.007185, allocations: 203.2 kB / 0.883 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.007627, allocations: 366.8 kB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.007748, allocations: 126.2 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.007941, allocations: 52.91 kB / 0.8835 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.00797, allocations: 49.33 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.007972, allocations: 0 / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0003998/0.008372, allocations: 258.7 kB / 0.8838 GB, free: 336 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.008442, allocations: 187.9 kB / 0.8839 GB, free: 104 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.008525, allocations: 153.9 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008542, allocations: 33.7 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.008576, allocations: 127.4 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.00865, allocations: 107.1 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.008711, allocations: 63.34 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.00884, allocations: 0.4962 MB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.0089, allocations: 39.97 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.00899, allocations: 114.1 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.009173, allocations: 182 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.009176, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002456/0.009421, allocations: 213.4 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.009435, allocations: 8.125 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.009444, allocations: 7.984 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.009464, allocations: 4 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.009592, allocations: 55.91 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.0096, allocations: 4 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.009646, allocations: 19.84 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.009662, allocations: 11.98 kB / 0.8855 GB, free: 14.38 MB / 0.8542 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 7.915e-05/0.009741, allocations: 168.5 kB / 0.8857 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.009771, allocations: 23.89 kB / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.01009, allocations: 265.7 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0101, allocations: 8 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.0101, allocations: 4 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01011, allocations: 3.938 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.01023, allocations: 172.4 kB / 0.8861 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01023, allocations: 3.984 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.01035, allocations: 55.97 kB / 0.8862 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.01036, allocations: 7.938 kB / 0.8862 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01037, allocations: 11.98 kB / 0.8862 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01037, allocations: 3.938 kB / 0.8862 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01038, allocations: 4 kB / 0.8862 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01063, allocations: 282.7 kB / 0.8865 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.01068, allocations: 43.8 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.0107, allocations: 11.94 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.01074, allocations: 8 kB / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.01077, allocations: 19.95 kB / 0.8866 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01078, allocations: 12 kB / 0.8866 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.01081, allocations: 119.2 kB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01081, allocations: 4 kB / 0.8867 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002385/0.01105, allocations: 95.86 kB / 0.8868 GB, free: 12.98 MB / 0.8542 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.0002743/0.01133, allocations: 223 kB / 0.887 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.01154, allocations: 160.2 kB / 0.8872 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01155, allocations: 0 / 0.8872 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.01164, allocations: 108.6 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.01178, allocations: 27.86 kB / 0.8873 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.01218, allocations: 309.6 kB / 0.8876 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.01224, allocations: 79.83 kB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.01237, allocations: 93.34 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.01243, allocations: 32.47 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01243, allocations: 4 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.004477/0.0169, allocations: 2.55 MB / 0.8903 GB, free: 9.336 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.7456012410111725]