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.000871/0.000871, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000839/0.000839, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8721/0.8721, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.981 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.686e-05, allocations: 2.281 kB / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001079/0.001096, allocations: 0.5995 MB / 0.9816 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.002806, allocations: 1.728 MB / 0.9833 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.002827, allocations: 0 / 0.9833 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.002856, allocations: 0 / 0.9833 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.002888, allocations: 7.938 kB / 0.9833 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.003519, allocations: 310.6 kB / 0.9836 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.003711, allocations: 139.8 kB / 0.9837 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.003747, allocations: 4 kB / 0.9837 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.00382, allocations: 63.92 kB / 0.9838 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.003901, allocations: 55.91 kB / 0.9838 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.003922, allocations: 11.94 kB / 0.9839 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.00432, allocations: 323.5 kB / 0.9842 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.004363, allocations: 47.88 kB / 0.9842 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.004399, allocations: 27.91 kB / 0.9842 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.004696, allocations: 351.1 kB / 0.9846 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.004698, allocations: 0 / 0.9846 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004699, allocations: 4 kB / 0.9846 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004703, allocations: 0 / 0.9846 GB, free: 13.75 MB / 0.9011 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.0004435/0.005147, allocations: 369.7 kB / 0.9849 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005184, allocations: 12.03 kB / 0.9849 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.005221, allocations: 50.67 kB / 0.985 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.005254, allocations: 8.891 kB / 0.985 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.005322, allocations: 113.7 kB / 0.9851 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.005335, allocations: 16.38 kB / 0.9851 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.00535, allocations: 12.38 kB / 0.9851 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.005578, allocations: 222.9 kB / 0.9853 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005586, allocations: 0 / 0.9853 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.005599, allocations: 8 kB / 0.9854 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005605, allocations: 3.938 kB / 0.9854 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.005791, allocations: 183.7 kB / 0.9855 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.005999, allocations: 241.2 kB / 0.9858 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.006466, allocations: 387.8 kB / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.006609, allocations: 165.2 kB / 0.9863 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.006798, allocations: 36.97 kB / 0.9863 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.006821, allocations: 54.33 kB / 0.9864 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.006823, allocations: 0 / 0.9864 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.0004491/0.007272, allocations: 382.7 kB / 0.9867 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.007333, allocations: 187.9 kB / 0.9869 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.007376, allocations: 93.86 kB / 0.987 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.00739, allocations: 29.7 kB / 0.987 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.00741, allocations: 84.77 kB / 0.9871 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.007475, allocations: 111.1 kB / 0.9872 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.007527, allocations: 61.69 kB / 0.9873 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.007604, allocations: 322.8 kB / 0.9876 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.007695, allocations: 83.92 kB / 0.9877 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.007809, allocations: 138.6 kB / 0.9878 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.008049, allocations: 264.9 kB / 0.9881 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.008052, allocations: 4 kB / 0.9881 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002795/0.008331, allocations: 281.4 kB / 0.9883 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.008345, allocations: 7.938 kB / 0.9883 GB, free: 9.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.008352, allocations: 4 kB / 0.9883 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008364, allocations: 4 kB / 0.9883 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.008493, allocations: 63.89 kB / 0.9884 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008499, allocations: 0 / 0.9884 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.008545, allocations: 15.89 kB / 0.9884 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.008559, allocations: 15.98 kB / 0.9884 GB, free: 9.438 MB / 0.9011 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 7.458e-05/0.008633, allocations: 133.8 kB / 0.9886 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.008655, allocations: 15.84 kB / 0.9886 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.009019, allocations: 365.3 kB / 0.9889 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009023, allocations: 4 kB / 0.9889 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.009028, allocations: 4 kB / 0.9889 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.009032, allocations: 4 kB / 0.9889 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.009182, allocations: 216.6 kB / 0.9891 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.009185, allocations: 7.984 kB / 0.9892 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.009292, allocations: 59.84 kB / 0.9892 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.009296, allocations: 7.938 kB / 0.9892 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.00931, allocations: 11.98 kB / 0.9892 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.009313, allocations: 7.938 kB / 0.9892 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009315, allocations: 3.938 kB / 0.9892 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.009609, allocations: 337.7 kB / 0.9896 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.009662, allocations: 43.84 kB / 0.9896 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009679, allocations: 11.94 kB / 0.9896 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.00972, allocations: 8 kB / 0.9896 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.009749, allocations: 27.89 kB / 0.9896 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.00976, allocations: 12.31 kB / 0.9897 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.159e-05/0.009782, allocations: 83.27 kB / 0.9897 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.009782, allocations: 0 / 0.9897 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002396/0.01002, allocations: 91.88 kB / 0.9898 GB, free: 7.918 MB / 0.9011 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.0007226/0.01074, allocations: 0.991 MB / 0.9908 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.011, allocations: 243.8 kB / 0.991 GB, free: 6.641 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.011, allocations: 0 / 0.991 GB, free: 6.641 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01111, allocations: 131.7 kB / 0.9912 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.01124, allocations: 12 kB / 0.9912 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.01177, allocations: 435.8 kB / 0.9916 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.01183, allocations: 101.3 kB / 0.9917 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.01197, allocations: 105.4 kB / 0.9918 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.01203, allocations: 44.47 kB / 0.9918 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.01203, allocations: 0 / 0.9918 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.02956, allocations: 4.753 MB / 0.9965 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/6.935, allocations: 8.5 kB / 0.9965 GB, free: 1.148 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/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: 10.858228740282357]