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.001512/0.001512, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001879/0.001879, allocations: 173 kB / 23.49 MB, free: 1.059 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.9127/0.9127, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.017/2.017, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.813e-06/1.813e-06, allocations: 0 / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.857e-05, allocations: 6.75 kB / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001666/0.001694, allocations: 0.6236 MB / 0.8788 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.004478, allocations: 1.778 MB / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.004512, allocations: 0 / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.00455, allocations: 0 / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.004584, allocations: 0 / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.005585, allocations: 311.5 kB / 0.8809 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.005772, allocations: 135.8 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.00581, allocations: 0 / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.005918, allocations: 59.94 kB / 0.8811 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.006027, allocations: 62.3 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.006051, allocations: 4 kB / 0.8811 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.006605, allocations: 341.1 kB / 0.8815 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.00666, allocations: 39.88 kB / 0.8815 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.006714, allocations: 27.97 kB / 0.8815 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.00722, allocations: 359 kB / 0.8819 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.007223, allocations: 2.094 kB / 0.8819 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007224, allocations: 0 / 0.8819 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.007229, allocations: 0 / 0.8819 GB, free: 2.891 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.000609/0.007838, allocations: 476.7 kB / 0.8823 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.007876, allocations: 8.031 kB / 0.8823 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.007946, allocations: 22.55 kB / 0.8823 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.008028, allocations: 116.5 kB / 0.8825 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.008043, allocations: 8.375 kB / 0.8825 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.008076, allocations: 15.94 kB / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.008346, allocations: 186.1 kB / 0.8827 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.008355, allocations: 3.938 kB / 0.8827 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.008374, allocations: 7.984 kB / 0.8827 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.008383, allocations: 8 kB / 0.8827 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.008579, allocations: 95.83 kB / 0.8828 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.008824, allocations: 211.2 kB / 0.883 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.009387, allocations: 354.8 kB / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.009549, allocations: 122.2 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.009755, allocations: 56.91 kB / 0.8835 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.009787, allocations: 45.33 kB / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.694e-06/0.009789, allocations: 4 kB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0005119/0.0103, allocations: 265.3 kB / 0.8838 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.01038, allocations: 187.9 kB / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.01045, allocations: 149.9 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01047, allocations: 33.7 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.01051, allocations: 127.4 kB / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.0106, allocations: 107.1 kB / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.0107, allocations: 59.42 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01084, allocations: 0.5001 MB / 0.8849 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.01093, allocations: 36.09 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.01107, allocations: 127 kB / 0.8851 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.01134, allocations: 175.5 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01134, allocations: 0 / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003635/0.0117, allocations: 213.7 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01172, allocations: 4 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01173, allocations: 4 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01174, allocations: 0 / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.01194, allocations: 63.89 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01195, allocations: 3.984 kB / 0.8855 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.01203, allocations: 23.84 kB / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.01205, allocations: 12 kB / 0.8855 GB, free: 14.72 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 0.000102/0.01215, allocations: 176.5 kB / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.01221, allocations: 23.89 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.01265, allocations: 261 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01266, allocations: 4 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.01266, allocations: 0 / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.01267, allocations: 7.984 kB / 0.886 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.01285, allocations: 168.3 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01285, allocations: 0 / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.01304, allocations: 60.34 kB / 0.8862 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01305, allocations: 7.938 kB / 0.8862 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.01307, allocations: 11.98 kB / 0.8862 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01307, allocations: 8 kB / 0.8862 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.01308, allocations: 7.984 kB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.01375, allocations: 278.7 kB / 0.8865 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.01382, allocations: 43.8 kB / 0.8865 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.01385, allocations: 11.94 kB / 0.8866 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.01392, allocations: 4 kB / 0.8866 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.01397, allocations: 31.89 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01399, allocations: 11.98 kB / 0.8866 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.01402, allocations: 123.2 kB / 0.8867 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01402, allocations: 0 / 0.8867 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004152/0.01444, allocations: 99.86 kB / 0.8868 GB, free: 13.31 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.000395/0.01483, allocations: 214.9 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.01514, allocations: 159.5 kB / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01514, allocations: 0 / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.01527, allocations: 108.6 kB / 0.8873 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01546, allocations: 19.92 kB / 0.8873 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.01595, allocations: 314.1 kB / 0.8876 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.169e-05/0.01601, allocations: 79.83 kB / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.01622, allocations: 93.34 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.01629, allocations: 28.48 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01629, allocations: 0 / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.005514/0.0218, allocations: 2.555 MB / 0.8903 GB, free: 9.68 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.172637819778174]