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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006219/0.006219, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 197.2 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.873, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001839/0.8748, allocations: 0.6 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.8773, allocations: 1.73 MB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.8774, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.8774, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.8775, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.8785, allocations: 304.7 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.8787, allocations: 131.8 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.8787, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.8788, allocations: 47.95 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.879, allocations: 59.88 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.879, allocations: 8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.8795, allocations: 343.5 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.8796, allocations: 39.91 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.8797, allocations: 39.78 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.8801, allocations: 275.3 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8801, allocations: 0 / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8801, allocations: 0 / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.8802, allocations: 0 / 1.211 GB, free: 9.98 MB / 0.9356 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.0006797/0.8808, allocations: 455.2 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8809, allocations: 8.031 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.8809, allocations: 42.75 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.881, allocations: 20.73 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.8811, allocations: 168.3 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.8811, allocations: 12.38 kB / 1.211 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.8812, allocations: 15.94 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.8815, allocations: 220.4 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8815, allocations: 7.875 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.8815, allocations: 4 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.8815, allocations: 4 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.8818, allocations: 175.8 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.8821, allocations: 278.1 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.8828, allocations: 415.7 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.8831, allocations: 181.2 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.8834, allocations: 207.1 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.8835, allocations: 38.56 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.8835, allocations: 0 / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006371/0.8841, allocations: 385.2 kB / 1.213 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.8842, allocations: 183.9 kB / 1.213 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.8843, allocations: 93.86 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.8843, allocations: 29.7 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.8843, allocations: 84.69 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.8844, allocations: 106.5 kB / 1.214 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.8845, allocations: 53.69 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8846, allocations: 322.8 kB / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.8848, allocations: 79.94 kB / 1.214 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.8849, allocations: 150.6 kB / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.8853, allocations: 257 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8853, allocations: 4 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004206/0.8857, allocations: 293.3 kB / 1.215 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8857, allocations: 8 kB / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8857, allocations: 0 / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8858, allocations: 8 kB / 1.215 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.886, allocations: 55.91 kB / 1.215 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.886, allocations: 7.984 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.8861, allocations: 23.77 kB / 1.215 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.8861, allocations: 8 kB / 1.215 GB, free: 5.238 MB / 0.9356 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.0001057/0.8862, allocations: 141.7 kB / 1.215 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.8863, allocations: 11.91 kB / 1.215 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.8869, allocations: 364.7 kB / 1.215 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8869, allocations: 4 kB / 1.215 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8869, allocations: 0.5625 kB / 1.215 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.8869, allocations: 7.984 kB / 1.215 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.8871, allocations: 257.3 kB / 1.216 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8871, allocations: 4 kB / 1.216 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.8873, allocations: 59.91 kB / 1.216 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8874, allocations: 0 / 1.216 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.8874, allocations: 7.984 kB / 1.216 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8874, allocations: 4 kB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8874, allocations: 11.94 kB / 1.216 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.8878, allocations: 337 kB / 1.216 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.888, allocations: 120.9 kB / 1.216 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.888, allocations: 8 kB / 1.216 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.8881, allocations: 8 kB / 1.216 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.8882, allocations: 27.95 kB / 1.216 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.8882, allocations: 8 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.8882, allocations: 79.28 kB / 1.216 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8882, allocations: 0 / 1.216 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003895/0.8886, allocations: 91.98 kB / 1.216 GB, free: 3.598 MB / 0.9356 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.001101/0.8897, allocations: 0.9902 MB / 1.217 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.8901, allocations: 251.7 kB / 1.218 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8901, allocations: 0 / 1.218 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.8903, allocations: 139.8 kB / 1.218 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.8905, allocations: 8 kB / 1.218 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.8913, allocations: 444.4 kB / 1.218 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.8916, allocations: 0.7085 MB / 1.219 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.8918, allocations: 109.4 kB / 1.219 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.8919, allocations: 43.41 kB / 1.219 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8919, allocations: 4 kB / 1.219 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.913, allocations: 4.162 MB / 1.223 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/8.418, allocations: 11.98 kB / 1.223 GB, free: 12.77 MB / 0.9512 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) 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) Reference file matches