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.001579/0.001579, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001701/0.001701, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.903/2.903, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.318e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002447/0.00249, allocations: 0.607 MB / 0.787 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003782/0.006272, allocations: 1.73 MB / 0.7887 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.006304, allocations: 1.156 kB / 0.7887 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.006356, allocations: 7.984 kB / 0.7887 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.006391, allocations: 0 / 0.7887 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.007706, allocations: 311.6 kB / 0.789 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.007926, allocations: 127.8 kB / 0.7891 GB, free: 8.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.007979, allocations: 4 kB / 0.7891 GB, free: 8.906 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.008119, allocations: 65.52 kB / 0.7892 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.00827, allocations: 55.86 kB / 0.7892 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.008301, allocations: 8 kB / 0.7892 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007579/0.009059, allocations: 327.6 kB / 0.7896 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.009138, allocations: 43.33 kB / 0.7896 GB, free: 8.422 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.009218, allocations: 39.88 kB / 0.7896 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.01004, allocations: 355 kB / 0.79 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01004, allocations: 0 / 0.79 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01004, allocations: 0 / 0.79 GB, free: 8.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.01005, allocations: 4 kB / 0.79 GB, free: 8.031 MB / 0.698 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.00098/0.01103, allocations: 366.5 kB / 0.7903 GB, free: 7.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.01108, allocations: 11.97 kB / 0.7903 GB, free: 7.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.01119, allocations: 21.48 kB / 0.7904 GB, free: 7.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.01135, allocations: 118.2 kB / 0.7905 GB, free: 7.473 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.01138, allocations: 8.375 kB / 0.7905 GB, free: 7.465 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.01142, allocations: 13.5 kB / 0.7905 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.0119, allocations: 219.2 kB / 0.7907 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.01192, allocations: 3.938 kB / 0.7907 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.01194, allocations: 8.75 kB / 0.7907 GB, free: 7.203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01195, allocations: 4 kB / 0.7907 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.0123, allocations: 172.5 kB / 0.7909 GB, free: 7.031 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.01272, allocations: 213.8 kB / 0.7911 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.01375, allocations: 381.1 kB / 0.7915 GB, free: 6.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.01408, allocations: 167.1 kB / 0.7916 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.01453, allocations: 44.91 kB / 0.7917 GB, free: 6.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.01459, allocations: 46.56 kB / 0.7917 GB, free: 6.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.01459, allocations: 0 / 0.7917 GB, free: 6.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0009164/0.01551, allocations: 402.7 kB / 0.7921 GB, free: 5.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.01567, allocations: 183.9 kB / 0.7923 GB, free: 5.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.01578, allocations: 93.8 kB / 0.7924 GB, free: 5.352 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.01581, allocations: 34.2 kB / 0.7924 GB, free: 5.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.01587, allocations: 81.2 kB / 0.7925 GB, free: 5.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.01601, allocations: 107.1 kB / 0.7926 GB, free: 5.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01611, allocations: 59.06 kB / 0.7926 GB, free: 5.062 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01632, allocations: 322.8 kB / 0.7929 GB, free: 4.738 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.01649, allocations: 87.92 kB / 0.793 GB, free: 4.652 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.0167, allocations: 134.2 kB / 0.7931 GB, free: 4.504 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.01714, allocations: 258.5 kB / 0.7934 GB, free: 4.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01715, allocations: 1.969 kB / 0.7934 GB, free: 4.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005462/0.01769, allocations: 301.6 kB / 0.7937 GB, free: 3.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.01771, allocations: 8 kB / 0.7937 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01772, allocations: 0 / 0.7937 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.01775, allocations: 11.88 kB / 0.7937 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.01799, allocations: 52.48 kB / 0.7937 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.01801, allocations: 11.92 kB / 0.7938 GB, free: 3.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.01811, allocations: 16.61 kB / 0.7938 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.01813, allocations: 15.98 kB / 0.7938 GB, free: 3.82 MB / 0.698 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.0001468/0.01828, allocations: 139 kB / 0.7939 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.01834, allocations: 27.84 kB / 0.7939 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.01904, allocations: 353.5 kB / 0.7943 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.01905, allocations: 7.938 kB / 0.7943 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.01906, allocations: 5.062 kB / 0.7943 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01906, allocations: 0 / 0.7943 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.01933, allocations: 186.5 kB / 0.7945 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01933, allocations: 0 / 0.7945 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.01957, allocations: 59.89 kB / 0.7945 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01957, allocations: 0.8438 kB / 0.7945 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.0196, allocations: 19.98 kB / 0.7945 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01961, allocations: 2.219 kB / 0.7946 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.01961, allocations: 7.938 kB / 0.7946 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.02021, allocations: 350.9 kB / 0.7949 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.02031, allocations: 39.84 kB / 0.7949 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.02034, allocations: 8 kB / 0.7949 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.02043, allocations: 8 kB / 0.7949 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.02049, allocations: 26.61 kB / 0.795 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.02052, allocations: 16 kB / 0.795 GB, free: 2.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.02057, allocations: 79.22 kB / 0.7951 GB, free: 2.438 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.02057, allocations: 0 / 0.7951 GB, free: 2.438 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004579/0.02103, allocations: 99.8 kB / 0.7952 GB, free: 2.34 MB / 0.698 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.0005116/0.02154, allocations: 215.5 kB / 0.7954 GB, free: 2.125 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.02202, allocations: 247.9 kB / 0.7956 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.02202, allocations: 0 / 0.7956 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.02224, allocations: 129.8 kB / 0.7957 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.02246, allocations: 19.94 kB / 0.7957 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.0232, allocations: 379.3 kB / 0.7961 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.02333, allocations: 107.7 kB / 0.7962 GB, free: 1.203 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.02359, allocations: 109.4 kB / 0.7963 GB, free: 1.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.02368, allocations: 28.48 kB / 0.7963 GB, free: 1.074 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.02368, allocations: 0.6562 kB / 0.7963 GB, free: 1.074 MB / 0.698 GB Notification: Performance of Templates: time 0.007247/0.03093, allocations: 2.544 MB / 0.7988 GB, free: 14.54 MB / 0.7136 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.597352054901421]