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.001836/0.001836, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002188/0.002188, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 72.08 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.407, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001783/0.4088, allocations: 0.602 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.4116, allocations: 1.791 MB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.4116, allocations: 3.938 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.4117, allocations: 7.938 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.4117, allocations: 0 / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.4126, allocations: 314.5 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.4129, allocations: 131.8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.4129, allocations: 3.984 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.413, allocations: 47.95 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4131, allocations: 55.88 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.4131, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.4137, allocations: 351.5 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.4137, allocations: 35.91 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.4138, allocations: 51.77 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.4142, allocations: 283.2 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4142, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4142, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4142, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 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.0007762/0.415, allocations: 454.7 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.415, allocations: 15.98 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.4151, allocations: 8.891 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4152, allocations: 172.3 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4152, allocations: 8.375 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4153, allocations: 16.12 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.4157, allocations: 218.5 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4157, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.4157, allocations: 12 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4157, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.416, allocations: 179.7 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.4164, allocations: 278.1 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.4172, allocations: 391.8 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.4175, allocations: 169.1 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.4179, allocations: 195.2 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4179, allocations: 42.5 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.4179, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007721/0.4187, allocations: 389.9 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.4188, allocations: 187.9 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.4189, allocations: 101.8 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4189, allocations: 29.7 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.4189, allocations: 80.7 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4191, allocations: 103.1 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.4192, allocations: 57.69 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4193, allocations: 327 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4195, allocations: 83.92 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.4197, allocations: 141 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.4201, allocations: 265.7 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4201, allocations: 4 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005147/0.4206, allocations: 293.2 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4206, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4206, allocations: 4 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4207, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4209, allocations: 64.27 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4209, allocations: 4 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.421, allocations: 19.89 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.421, allocations: 11.98 kB / 1.329 GB, free: 10.46 MB / 1.029 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.0001351/0.4212, allocations: 143.5 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.4212, allocations: 15.89 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.4219, allocations: 360.8 kB / 1.329 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4219, allocations: 7.984 kB / 1.329 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4219, allocations: 4 kB / 1.329 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4219, allocations: 3.938 kB / 1.329 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4222, allocations: 253.4 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4222, allocations: 4 kB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4224, allocations: 59.89 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.4224, allocations: 8 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4225, allocations: 8 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.4225, allocations: 7.984 kB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4225, allocations: 0 / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.423, allocations: 350.1 kB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4231, allocations: 120.9 kB / 1.33 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4232, allocations: 4 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.4233, allocations: 11.98 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4233, allocations: 23.97 kB / 1.33 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4233, allocations: 8 kB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.4234, allocations: 79.27 kB / 1.33 GB, free: 8.906 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4234, allocations: 4.094 kB / 1.33 GB, free: 8.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004334/0.4238, allocations: 99.81 kB / 1.33 GB, free: 8.805 MB / 1.029 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.0004481/0.4243, allocations: 203 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.4247, allocations: 243.6 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4247, allocations: 0 / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4249, allocations: 123.8 kB / 1.331 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.4251, allocations: 24.16 kB / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.4258, allocations: 363.7 kB / 1.331 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4261, allocations: 0.7202 MB / 1.332 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.4264, allocations: 105.4 kB / 1.332 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.4265, allocations: 31.36 kB / 1.332 GB, free: 6.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4265, allocations: 0 / 1.332 GB, free: 6.941 MB / 1.029 GB Notification: Performance of Templates: time 0.006333/0.4328, allocations: 2.665 MB / 1.335 GB, free: 4.273 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.433396083302796]