Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002219/0.002219, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.003348/0.003348, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",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.002049/0.002049, allocations: 71.55 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001805/0.3207, allocations: 0.606 MB / 1.327 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.3235, allocations: 1.814 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.3235, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.3236, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.3236, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.3245, allocations: 315 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3247, allocations: 135.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.3248, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.3248, allocations: 47.91 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.325, allocations: 63.86 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.325, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.3256, allocations: 353.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.3256, allocations: 35.91 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.3257, allocations: 59.7 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.3261, allocations: 275.2 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3262, allocations: 3.984 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3262, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3262, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 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.0007573/0.3269, allocations: 377.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.327, allocations: 8.031 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.327, allocations: 46.73 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.3271, allocations: 12.89 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3272, allocations: 114.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3272, allocations: 16.31 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3272, allocations: 15.94 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.3276, allocations: 218.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3276, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3276, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3276, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3279, allocations: 179.8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.3283, allocations: 249.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.329, allocations: 391.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3293, allocations: 173.1 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.3295, allocations: 40.95 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3296, allocations: 34.56 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.3296, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007066/0.3303, allocations: 394.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3304, allocations: 187.9 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.3304, allocations: 97.84 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3305, allocations: 29.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.3305, allocations: 80.64 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3306, allocations: 107.2 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.3307, allocations: 61.69 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3308, allocations: 322.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.331, allocations: 79.94 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.3312, allocations: 145.6 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3316, allocations: 261.1 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3316, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004939/0.3321, allocations: 293.3 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3321, allocations: 8 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3321, allocations: 0 / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3321, allocations: 4 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3324, allocations: 59.89 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3324, allocations: 4 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3325, allocations: 19.84 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3325, allocations: 23.86 kB / 1.333 GB, free: 9.883 MB / 1.029 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.000127/0.3326, allocations: 142.2 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3327, allocations: 11.95 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.3333, allocations: 357.5 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3333, allocations: 11.94 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3333, allocations: 3.984 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3333, allocations: 0 / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3336, allocations: 232.5 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3336, allocations: 4 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3338, allocations: 59.89 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3338, allocations: 4 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3339, allocations: 8 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3339, allocations: 4 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3339, allocations: 3.938 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.3344, allocations: 341.2 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.3345, allocations: 43.81 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3345, allocations: 8 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.3346, allocations: 4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3346, allocations: 31.89 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3347, allocations: 11.98 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.3347, allocations: 79.28 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3347, allocations: 0 / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003975/0.3351, allocations: 103.8 kB / 1.335 GB, free: 8.355 MB / 1.029 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.001091/0.3362, allocations: 0.9678 MB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3366, allocations: 236.8 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3366, allocations: 4 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3368, allocations: 127.7 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.337, allocations: 12 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.3379, allocations: 443.7 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3382, allocations: 0.7124 MB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.3384, allocations: 109.3 kB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.3385, allocations: 39.41 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3385, allocations: 0 / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3701, allocations: 4.426 MB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 12.91 kB / 1.342 GB, free: 1.301 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.96097009186633]