Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001544/0.001544, allocations: 120 kB / 17.17 MB, free: 5.977 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.001606/0.001606, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="cs",version="2.0",platforms={"static"}) [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.001984/0.001984, allocations: 71.89 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8746/0.8766, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001636/0.8782, allocations: 0.6038 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.8803, allocations: 1.8 MB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.8803, allocations: 1.156 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.8804, allocations: 1.266 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.858e-05/0.8804, allocations: 5.062 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.8812, allocations: 313.2 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.8814, allocations: 131.5 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.8814, allocations: 3.297 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.8815, allocations: 48.28 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.8816, allocations: 58.5 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.8816, allocations: 5.312 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.8821, allocations: 353.6 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.8821, allocations: 43.08 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.8822, allocations: 39.73 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.8826, allocations: 284.8 kB / 1.344 GB, free: 14.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8826, allocations: 1.672 kB / 1.344 GB, free: 14.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8826, allocations: 0 / 1.344 GB, free: 14.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8826, allocations: 0 / 1.344 GB, free: 14.19 MB / 1.061 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.0006179/0.8832, allocations: 457.2 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8832, allocations: 11.48 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.215e-05/0.8832, allocations: 2.625 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.8833, allocations: 50.14 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.8833, allocations: 11.27 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/0.8834, allocations: 175.6 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.8834, allocations: 7.844 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.8834, allocations: 13.03 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.8838, allocations: 217.3 kB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8838, allocations: 0 / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.8838, allocations: 6.812 kB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.8838, allocations: 3.156 kB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.8841, allocations: 179.9 kB / 1.345 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.8844, allocations: 283.2 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.885, allocations: 393.7 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.8853, allocations: 163.7 kB / 1.346 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.8855, allocations: 196.8 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8856, allocations: 47.38 kB / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.363e-06/0.8856, allocations: 0 / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0006574/0.8862, allocations: 383 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.8863, allocations: 193.4 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.8863, allocations: 95.8 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.8863, allocations: 35.08 kB / 1.347 GB, free: 12.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.8863, allocations: 80.7 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.8864, allocations: 100.5 kB / 1.347 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.8865, allocations: 57 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.8865, allocations: 326.1 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.8867, allocations: 92.58 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.8869, allocations: 136.5 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.8872, allocations: 259.6 kB / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8872, allocations: 0 / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004644/0.8877, allocations: 291.2 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8877, allocations: 7.438 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8877, allocations: 1.875 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8877, allocations: 1.5 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.888, allocations: 64.97 kB / 1.348 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.888, allocations: 2.562 kB / 1.348 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.888, allocations: 16.27 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.8881, allocations: 12.39 kB / 1.348 GB, free: 11.17 MB / 1.061 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 8.561e-05/0.8882, allocations: 146.5 kB / 1.348 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.8882, allocations: 9.766 kB / 1.348 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.8888, allocations: 363.5 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.8888, allocations: 12.69 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8888, allocations: 6.656 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.8888, allocations: 3.172 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.889, allocations: 249.9 kB / 1.349 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.889, allocations: 1.094 kB / 1.349 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.8892, allocations: 55.8 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8892, allocations: 6.75 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.8893, allocations: 12.03 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.8893, allocations: 2.75 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8893, allocations: 2.391 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.8897, allocations: 349.4 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.8898, allocations: 122.8 kB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.8898, allocations: 7.078 kB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.8899, allocations: 7.375 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.89, allocations: 31.25 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.89, allocations: 11.95 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.769e-05/0.89, allocations: 80.44 kB / 1.349 GB, free: 10.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.89, allocations: 0 / 1.349 GB, free: 10.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004198/0.8904, allocations: 95.17 kB / 1.349 GB, free: 10.23 MB / 1.061 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.0009038/0.8913, allocations: 0.9774 MB / 1.35 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.8917, allocations: 239.3 kB / 1.351 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8917, allocations: 4 kB / 1.351 GB, free: 9.422 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.8919, allocations: 129.4 kB / 1.351 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.8921, allocations: 18 kB / 1.351 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.8928, allocations: 444.9 kB / 1.351 GB, free: 9.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.893, allocations: 0.7161 MB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.8932, allocations: 113.7 kB / 1.352 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.8933, allocations: 44.41 kB / 1.352 GB, free: 8.359 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.8933, allocations: 0 / 1.352 GB, free: 8.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.9147, allocations: 4.227 MB / 1.356 GB, free: 7.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.787, allocations: 7.312 kB / 1.356 GB, free: 7.812 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.008889899007045]