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.00157/0.00157, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001943/0.001943, allocations: 214.8 kB / 23.03 MB, free: 4.926 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_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.001949/0.001949, allocations: 69.28 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00193/0.3703, allocations: 0.6062 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.3729, allocations: 1.717 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.3729, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.373, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.941e-05/0.373, allocations: 4 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.3739, allocations: 323 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3741, allocations: 143.7 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3741, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.3742, allocations: 47.97 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3743, allocations: 59.84 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3743, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.3749, allocations: 347.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.3749, allocations: 39.89 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.375, allocations: 39.84 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3754, allocations: 287.2 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3754, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3754, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.3754, allocations: 4 kB / 1.33 GB, free: 13.88 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.0006995/0.3761, allocations: 377.6 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3762, allocations: 12.03 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.32e-05/0.3762, allocations: 192 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3762, allocations: 46.75 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.3763, allocations: 8.891 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3764, allocations: 118.4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3764, allocations: 16.12 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3764, allocations: 12 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.3768, allocations: 214.6 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3768, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3768, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3768, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.3771, allocations: 179.8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.3774, allocations: 245.2 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.3782, allocations: 395.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.3784, allocations: 161.1 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3787, allocations: 40.97 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.3787, allocations: 46.48 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 3.296e-06/0.3787, allocations: 3.984 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006941/0.3794, allocations: 385.2 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.3795, allocations: 191.9 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.3796, allocations: 93.86 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3796, allocations: 29.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.3797, allocations: 84.77 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3798, allocations: 103.1 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.3799, allocations: 57.69 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.38, allocations: 322.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3802, allocations: 87.92 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3803, allocations: 145.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.3807, allocations: 258.5 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3807, allocations: 3.938 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004589/0.3812, allocations: 289.8 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3812, allocations: 7.938 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3812, allocations: 7.984 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3812, allocations: 4 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3815, allocations: 51.97 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3815, allocations: 7.875 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3816, allocations: 23.84 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3816, allocations: 11.98 kB / 1.334 GB, free: 9.559 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.000123/0.3817, allocations: 146.2 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.3818, allocations: 7.953 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.3824, allocations: 356.9 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3824, allocations: 4 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3824, allocations: 8 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3824, allocations: 0 / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3827, allocations: 224.5 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3827, allocations: 4 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3829, allocations: 52.28 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3829, allocations: 4 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.383, allocations: 11.98 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.383, allocations: 11.94 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.383, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.3835, allocations: 341.3 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.3836, allocations: 47.8 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3836, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.3837, allocations: 8 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3837, allocations: 31.83 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3838, allocations: 19.98 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.3838, allocations: 75.28 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 0 / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003963/0.3842, allocations: 103.7 kB / 1.335 GB, free: 8.035 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.001065/0.3853, allocations: 0.9599 MB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3857, allocations: 244.7 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3857, allocations: 3.938 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3859, allocations: 133 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.386, allocations: 14.34 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.3868, allocations: 436 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.567e-05/0.3869, allocations: 99.69 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.3872, allocations: 113.3 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.3872, allocations: 43.42 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3872, allocations: 0 / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4131, allocations: 4.355 MB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 10.45 kB / 1.342 GB, free: 1.68 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.733040272956714]