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.001378/0.001378, allocations: 111.6 kB / 18.14 MB, free: 3.828 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.001328/0.001328, allocations: 197.2 kB / 21.42 MB, free: 0.5508 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.451/1.451, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.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.76/2.76, allocations: 476.7 MB / 0.7637 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002017/0.002017, allocations: 67.89 kB / 1.108 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.9308, allocations: 168.7 MB / 1.273 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001839/0.9326, allocations: 0.6083 MB / 1.273 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.9353, allocations: 1.753 MB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.9353, allocations: 0 / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.9353, allocations: 0 / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.9354, allocations: 0 / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.9363, allocations: 303.3 kB / 1.275 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.9365, allocations: 131.8 kB / 1.276 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.9366, allocations: 4 kB / 1.276 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.9367, allocations: 51.89 kB / 1.276 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.9368, allocations: 55.92 kB / 1.276 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.9368, allocations: 8 kB / 1.276 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.9374, allocations: 343.5 kB / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.9374, allocations: 43.89 kB / 1.276 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.9375, allocations: 39.73 kB / 1.276 GB, free: 1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.9379, allocations: 279.2 kB / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9379, allocations: 0 / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9379, allocations: 0 / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9379, allocations: 0 / 1.276 GB, free: 0.7266 MB / 0.9669 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.0007691/0.9387, allocations: 450.8 kB / 1.277 GB, free: 244 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9387, allocations: 8.031 kB / 1.277 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.9388, allocations: 50.69 kB / 1.277 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.9388, allocations: 12.88 kB / 1.277 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.939, allocations: 172.3 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.939, allocations: 12.36 kB / 1.277 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.939, allocations: 15.94 kB / 1.277 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.9394, allocations: 226.6 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9394, allocations: 0 / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.9394, allocations: 3.938 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.9394, allocations: 4 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.9397, allocations: 183.7 kB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.9401, allocations: 278.2 kB / 1.278 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.9408, allocations: 395.7 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.9411, allocations: 161.2 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.9415, allocations: 199.2 kB / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.9415, allocations: 42.5 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.9415, allocations: 4 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007156/0.9422, allocations: 382.5 kB / 1.279 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.9423, allocations: 183.9 kB / 1.279 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.9424, allocations: 93.86 kB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.9424, allocations: 29.7 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.9425, allocations: 88.81 kB / 1.279 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.9426, allocations: 107.1 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.9427, allocations: 53.69 kB / 1.279 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.9428, allocations: 330.8 kB / 1.28 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.943, allocations: 79.94 kB / 1.28 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.9431, allocations: 141.1 kB / 1.28 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.9435, allocations: 265.2 kB / 1.28 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9435, allocations: 0 / 1.28 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004644/0.944, allocations: 293.3 kB / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.944, allocations: 8 kB / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.944, allocations: 0 / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.944, allocations: 4 kB / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.9443, allocations: 51.91 kB / 1.281 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9443, allocations: 8 kB / 1.281 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.9444, allocations: 19.88 kB / 1.281 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.9444, allocations: 12 kB / 1.281 GB, free: 12.02 MB / 0.9825 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.0001337/0.9445, allocations: 145.6 kB / 1.281 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.9446, allocations: 15.91 kB / 1.281 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.9452, allocations: 357.4 kB / 1.281 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9452, allocations: 7.984 kB / 1.281 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9452, allocations: 4 kB / 1.281 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.9453, allocations: 7.984 kB / 1.281 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.9456, allocations: 253.4 kB / 1.281 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9456, allocations: 4 kB / 1.281 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.9458, allocations: 51.91 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.9458, allocations: 4 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.9458, allocations: 11.98 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.9458, allocations: 4 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9458, allocations: 0 / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.9463, allocations: 361.4 kB / 1.282 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.9465, allocations: 121 kB / 1.282 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.9465, allocations: 8 kB / 1.282 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.9466, allocations: 4 kB / 1.282 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.9466, allocations: 27.95 kB / 1.282 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.9467, allocations: 12 kB / 1.282 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.9467, allocations: 75.28 kB / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.1e-08/0.9467, allocations: 0 / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004056/0.9471, allocations: 99.8 kB / 1.282 GB, free: 10.36 MB / 0.9825 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.001287/0.9484, allocations: 0.9987 MB / 1.283 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.9488, allocations: 235.7 kB / 1.283 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9488, allocations: 0 / 1.283 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.949, allocations: 127.8 kB / 1.283 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9492, allocations: 16 kB / 1.283 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.9501, allocations: 451.8 kB / 1.284 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.9504, allocations: 0.7139 MB / 1.285 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.9506, allocations: 105.4 kB / 1.285 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.9507, allocations: 43.41 kB / 1.285 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.9507, allocations: 0 / 1.285 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.9805, allocations: 4.149 MB / 1.289 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/9.268, allocations: 10.55 kB / 1.289 GB, free: 3.523 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.369524198118597]