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.001323/0.001323, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001339/0.001339, allocations: 215 kB / 20.13 MB, free: 2.949 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7678 GB, free: 9.469 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_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.002045/0.002045, allocations: 71.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00212/1.039, allocations: 0.6071 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003583/1.042, allocations: 1.793 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/1.042, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/1.042, allocations: 10.47 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/1.043, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/1.044, allocations: 314.9 kB / 1.282 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/1.044, allocations: 130.9 kB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/1.044, allocations: 7.359 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/1.044, allocations: 43.62 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/1.045, allocations: 58.78 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/1.045, allocations: 5.656 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/1.045, allocations: 358.1 kB / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/1.045, allocations: 35.81 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/1.046, allocations: 42.59 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/1.046, allocations: 284.8 kB / 1.283 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.046, allocations: 10.25 kB / 1.283 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.554e-06/1.046, allocations: 0 / 1.283 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.046, allocations: 0 / 1.283 GB, free: 9.68 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.0008939/1.047, allocations: 453.4 kB / 1.283 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.047, allocations: 14.58 kB / 1.283 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.77e-05/1.047, allocations: 3.281 kB / 1.283 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/1.047, allocations: 49.61 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/1.047, allocations: 11.36 kB / 1.283 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/1.047, allocations: 171.5 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/1.047, allocations: 13.06 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/1.047, allocations: 16.36 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/1.048, allocations: 226.3 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.048, allocations: 0 / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.048, allocations: 5.906 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/1.048, allocations: 3.688 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/1.048, allocations: 175.5 kB / 1.284 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/1.049, allocations: 275.8 kB / 1.284 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/1.05, allocations: 390.4 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/1.05, allocations: 168.2 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/1.05, allocations: 197 kB / 1.285 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.051, allocations: 38.3 kB / 1.285 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/1.051, allocations: 4 kB / 1.285 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0008046/1.051, allocations: 394.1 kB / 1.285 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.051, allocations: 183.9 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/1.052, allocations: 93.09 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/1.052, allocations: 31.08 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/1.052, allocations: 80.7 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.052, allocations: 104.1 kB / 1.286 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.052, allocations: 60.61 kB / 1.286 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.052, allocations: 322.2 kB / 1.286 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.052, allocations: 88.86 kB / 1.286 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.052, allocations: 136.9 kB / 1.286 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/1.053, allocations: 264.3 kB / 1.286 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/1.053, allocations: 4.781 kB / 1.286 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005055/1.053, allocations: 287.6 kB / 1.287 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.053, allocations: 5.656 kB / 1.287 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.053, allocations: 2.172 kB / 1.287 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.053, allocations: 3.469 kB / 1.287 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/1.054, allocations: 58.95 kB / 1.287 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.054, allocations: 4.344 kB / 1.287 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/1.054, allocations: 17.23 kB / 1.287 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.054, allocations: 19.34 kB / 1.287 GB, free: 6.66 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.0001432/1.054, allocations: 137.6 kB / 1.287 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/1.054, allocations: 11.06 kB / 1.287 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/1.055, allocations: 368.8 kB / 1.287 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.055, allocations: 4.562 kB / 1.287 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.055, allocations: 10.17 kB / 1.287 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.055, allocations: 5.031 kB / 1.287 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/1.055, allocations: 257.5 kB / 1.287 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.055, allocations: 5.938 kB / 1.287 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/1.055, allocations: 59.25 kB / 1.288 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.055, allocations: 4.172 kB / 1.288 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/1.055, allocations: 11.39 kB / 1.288 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/1.055, allocations: 2.312 kB / 1.288 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.055, allocations: 1.312 kB / 1.288 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/1.056, allocations: 349.8 kB / 1.288 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/1.056, allocations: 122.6 kB / 1.288 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/1.056, allocations: 7.781 kB / 1.288 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/1.056, allocations: 6.594 kB / 1.288 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/1.056, allocations: 24.47 kB / 1.288 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/1.056, allocations: 10 kB / 1.288 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.964e-05/1.056, allocations: 81.56 kB / 1.288 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 3.938 kB / 1.288 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005278/1.057, allocations: 102.8 kB / 1.288 GB, free: 5.703 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.001189/1.058, allocations: 0.9688 MB / 1.289 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004618/1.058, allocations: 238.9 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.058, allocations: 1.469 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.058, allocations: 125 kB / 1.29 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/1.059, allocations: 14.47 kB / 1.29 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/1.06, allocations: 459.8 kB / 1.29 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.06, allocations: 0.7115 MB / 1.291 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002625/1.06, allocations: 109.5 kB / 1.291 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/1.06, allocations: 40.53 kB / 1.291 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.06, allocations: 0 / 1.291 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/1.092, allocations: 4.22 MB / 1.295 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/9.379, allocations: 13.19 kB / 1.295 GB, free: 3.285 MB / 0.9981 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/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.66033092798898]