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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.919/2.919, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 1.104 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26/1.262, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001867/1.264, allocations: 0.6103 MB / 1.269 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002502/1.266, allocations: 1.741 MB / 1.271 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/1.266, allocations: 0 / 1.271 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/1.266, allocations: 5.359 kB / 1.271 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/1.266, allocations: 0.6562 kB / 1.271 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.267, allocations: 305.7 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/1.268, allocations: 130.6 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/1.268, allocations: 3.875 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/1.268, allocations: 46.94 kB / 1.272 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/1.268, allocations: 67.06 kB / 1.272 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/1.268, allocations: 5.656 kB / 1.272 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006425/1.269, allocations: 345.8 kB / 1.272 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/1.269, allocations: 40.14 kB / 1.272 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/1.269, allocations: 42.36 kB / 1.272 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/1.269, allocations: 276.8 kB / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.269, allocations: 0 / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.269, allocations: 0.8125 kB / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.269, allocations: 0 / 1.272 GB, free: 5.719 MB / 0.9981 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.0006397/1.27, allocations: 450.2 kB / 1.273 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.27, allocations: 9.875 kB / 1.273 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/1.27, allocations: 48.44 kB / 1.273 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/1.27, allocations: 9.703 kB / 1.273 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/1.27, allocations: 175.3 kB / 1.273 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.27, allocations: 9.906 kB / 1.273 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/1.27, allocations: 15.94 kB / 1.273 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/1.27, allocations: 226.4 kB / 1.273 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.27, allocations: 0 / 1.273 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/1.27, allocations: 6.156 kB / 1.273 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.27, allocations: 3 kB / 1.273 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/1.271, allocations: 179.3 kB / 1.273 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/1.271, allocations: 275.8 kB / 1.274 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/1.272, allocations: 389.5 kB / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/1.272, allocations: 173.7 kB / 1.274 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/1.272, allocations: 197.7 kB / 1.274 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.272, allocations: 48.47 kB / 1.274 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/1.272, allocations: 0 / 1.274 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007514/1.273, allocations: 378.9 kB / 1.275 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.273, allocations: 189.5 kB / 1.275 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/1.273, allocations: 95.17 kB / 1.275 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/1.273, allocations: 32.58 kB / 1.275 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/1.273, allocations: 81.64 kB / 1.275 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/1.273, allocations: 110.7 kB / 1.275 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/1.273, allocations: 56.47 kB / 1.275 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/1.274, allocations: 322.2 kB / 1.276 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/1.274, allocations: 85.59 kB / 1.276 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.274, allocations: 137.8 kB / 1.276 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/1.274, allocations: 264.3 kB / 1.276 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.274, allocations: 0.9375 kB / 1.276 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004974/1.275, allocations: 294.5 kB / 1.276 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.275, allocations: 6.25 kB / 1.276 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.275, allocations: 0.9375 kB / 1.276 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.275, allocations: 6.688 kB / 1.276 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/1.275, allocations: 60.77 kB / 1.276 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.275, allocations: 2.781 kB / 1.276 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/1.275, allocations: 16.23 kB / 1.276 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.275, allocations: 11.62 kB / 1.276 GB, free: 2.699 MB / 0.9981 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.0001215/1.275, allocations: 144 kB / 1.277 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/1.275, allocations: 14.84 kB / 1.277 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/1.276, allocations: 354.5 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.276, allocations: 4.375 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.276, allocations: 1.844 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.276, allocations: 3.391 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/1.276, allocations: 258.2 kB / 1.277 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.276, allocations: 9.688 kB / 1.277 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/1.276, allocations: 54.52 kB / 1.277 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.276, allocations: 5.016 kB / 1.277 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.277, allocations: 10.34 kB / 1.277 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.277, allocations: 7.281 kB / 1.277 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.277, allocations: 5.719 kB / 1.277 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/1.277, allocations: 337.5 kB / 1.278 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.277, allocations: 120.4 kB / 1.278 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/1.277, allocations: 10.31 kB / 1.278 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/1.277, allocations: 10.91 kB / 1.278 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/1.277, allocations: 22.52 kB / 1.278 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/1.277, allocations: 12.39 kB / 1.278 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.064e-05/1.277, allocations: 80.25 kB / 1.278 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.277, allocations: 0 / 1.278 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005812/1.278, allocations: 99.95 kB / 1.278 GB, free: 1.766 MB / 0.9981 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.001176/1.279, allocations: 0.9962 MB / 1.279 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004651/1.28, allocations: 242.7 kB / 1.279 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.28, allocations: 1 kB / 1.279 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/1.28, allocations: 124.9 kB / 1.279 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/1.28, allocations: 16.2 kB / 1.279 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007993/1.281, allocations: 442.8 kB / 1.28 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.281, allocations: 0.7176 MB / 1.28 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002632/1.281, allocations: 108.2 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/1.281, allocations: 41 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/1.281, allocations: 0 / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/1.315, allocations: 4.153 MB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/9.64, allocations: 15.27 kB / 1.285 GB, free: 15.32 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.208485562819988]