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.0009687/0.0009687, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001163/0.001163, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> 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 1.102e-06/1.102e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.438e-05, allocations: 12.89 kB / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001009/0.001024, allocations: 0.5994 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.002893, allocations: 1.74 MB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.00292, allocations: 0 / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.002954, allocations: 0 / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.002989, allocations: 4 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.003765, allocations: 320.1 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.004057, allocations: 131.8 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.004156, allocations: 0 / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.004276, allocations: 67.81 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.004358, allocations: 55.92 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004376, allocations: 8 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.004755, allocations: 335.5 kB / 0.9537 GB, free: 188 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.004799, allocations: 35.89 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.004843, allocations: 35.89 kB / 0.9538 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.005219, allocations: 351.2 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.005221, allocations: 0 / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005221, allocations: 0 / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005226, allocations: 0 / 0.9541 GB, free: 15.77 MB / 0.9167 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.0005313/0.005757, allocations: 373.7 kB / 0.9545 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.005804, allocations: 11.97 kB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.005849, allocations: 50.73 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.005887, allocations: 8.891 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/0.005977, allocations: 113.7 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.005995, allocations: 12.36 kB / 0.9547 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006012, allocations: 12.38 kB / 0.9547 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.006278, allocations: 223.4 kB / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.006287, allocations: 0 / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.0063, allocations: 4 kB / 0.9549 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006307, allocations: 8 kB / 0.9549 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.0065, allocations: 175.7 kB / 0.9551 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.006737, allocations: 237.2 kB / 0.9553 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.007242, allocations: 395.8 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.007397, allocations: 157.2 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.007597, allocations: 40.97 kB / 0.9559 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.007624, allocations: 50.44 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.007626, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.0004841/0.00811, allocations: 386.5 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.008173, allocations: 187.9 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.008216, allocations: 89.86 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.008232, allocations: 29.7 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.008252, allocations: 84.64 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.008317, allocations: 107.1 kB / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.008369, allocations: 53.69 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.008464, allocations: 322.8 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.008562, allocations: 88.06 kB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.008683, allocations: 145.8 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.008931, allocations: 257.1 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008934, allocations: 7.875 kB / 0.9576 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003058/0.00924, allocations: 293.4 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009255, allocations: 11.94 kB / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009259, allocations: 0 / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.009274, allocations: 7.984 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.009404, allocations: 55.89 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.009411, allocations: 4 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.009459, allocations: 15.89 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.009472, allocations: 16 kB / 0.958 GB, free: 11.46 MB / 0.9167 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.772e-05/0.009549, allocations: 137.8 kB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.009574, allocations: 19.84 kB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.00995, allocations: 361.5 kB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.009954, allocations: 4 kB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.009959, allocations: 3.984 kB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009963, allocations: 4 kB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.01013, allocations: 216.6 kB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01013, allocations: 0 / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01024, allocations: 59.89 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.01024, allocations: 11.94 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01026, allocations: 8 kB / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01026, allocations: 0 / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01026, allocations: 7.938 kB / 0.9588 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01056, allocations: 337.2 kB / 0.9591 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.01062, allocations: 39.86 kB / 0.9591 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01064, allocations: 11.94 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.01068, allocations: 8 kB / 0.9591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.01071, allocations: 27.89 kB / 0.9592 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01072, allocations: 11.98 kB / 0.9592 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.01075, allocations: 79.28 kB / 0.9593 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01075, allocations: 4 kB / 0.9593 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002665/0.01101, allocations: 95.86 kB / 0.9594 GB, free: 9.953 MB / 0.9167 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.0006761/0.01169, allocations: 0.9911 MB / 0.9603 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.01198, allocations: 247.7 kB / 0.9606 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01198, allocations: 0 / 0.9606 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.01209, allocations: 131.7 kB / 0.9607 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.01222, allocations: 15.98 kB / 0.9607 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.01275, allocations: 437 kB / 0.9611 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.35e-05/0.01282, allocations: 91.81 kB / 0.9612 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.01296, allocations: 105.4 kB / 0.9613 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.01302, allocations: 48.47 kB / 0.9614 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01302, allocations: 0 / 0.9614 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.03063, allocations: 4.753 MB / 0.966 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.816, allocations: 6 kB / 0.966 GB, free: 3.172 MB / 0.9167 GB " [Timeout remaining time 293] (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/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: 10.79283956065774]