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.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.0008075/0.0008075, 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.0007885/0.0007885, allocations: 165.9 kB / 22.45 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.899/0.899, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.755/1.755, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.581e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001168/0.001194, allocations: 0.5953 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.002982, allocations: 1.733 MB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.003003, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.003034, allocations: 7.922 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.003065, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.00368, allocations: 317 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003813, allocations: 135.8 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.003847, allocations: 7.984 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.003919, allocations: 59.94 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.003996, allocations: 55.92 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.004014, allocations: 4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.004338, allocations: 335.5 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.004378, allocations: 39.84 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.004415, allocations: 27.95 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.004718, allocations: 359.1 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004721, allocations: 0 / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/0.004722, allocations: 0 / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004727, allocations: 4 kB / 1.003 GB, free: 9.793 MB / 0.9636 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.0004604/0.005187, allocations: 365.7 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005226, allocations: 8.75 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.005262, allocations: 50.73 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.005296, allocations: 12.84 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/0.005365, allocations: 117.7 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005379, allocations: 12.12 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.005393, allocations: 8 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.005625, allocations: 226.6 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005633, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.005646, allocations: 4 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.005654, allocations: 4 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.005839, allocations: 175.8 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.00604, allocations: 241.2 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.006496, allocations: 391.8 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.006636, allocations: 173.1 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.006826, allocations: 44.97 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.006848, allocations: 46.5 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.363e-06/0.006849, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.0004442/0.007293, allocations: 374.6 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.007434, allocations: 199.8 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.073e-05/0.007475, allocations: 93.8 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.00749, allocations: 29.7 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.007509, allocations: 84.64 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.007573, allocations: 107.2 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.007626, allocations: 57.69 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.007702, allocations: 322.8 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.007793, allocations: 87.94 kB / 1.006 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.007907, allocations: 138.6 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.008138, allocations: 253.2 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.008141, allocations: 7.875 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002783/0.00842, allocations: 289.4 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008434, allocations: 8 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008438, allocations: 3.938 kB / 1.007 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.008451, allocations: 4 kB / 1.007 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.008578, allocations: 55.97 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.008585, allocations: 7.938 kB / 1.007 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.008632, allocations: 19.88 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.008645, allocations: 8 kB / 1.007 GB, free: 5.492 MB / 0.9636 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 8.074e-05/0.008726, allocations: 141.7 kB / 1.007 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.008748, allocations: 19.89 kB / 1.007 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.009113, allocations: 361.6 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009116, allocations: 4 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.009121, allocations: 0 / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.009128, allocations: 7.984 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.009279, allocations: 228.5 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009281, allocations: 0 / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.009391, allocations: 55.91 kB / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.009394, allocations: 0 / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.00941, allocations: 15.98 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009412, allocations: 0 / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.009414, allocations: 4 kB / 1.008 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.009715, allocations: 341.6 kB / 1.008 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.009774, allocations: 43.84 kB / 1.008 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.009792, allocations: 8 kB / 1.008 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.009834, allocations: 4 kB / 1.008 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.009864, allocations: 27.95 kB / 1.008 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.009877, allocations: 19.92 kB / 1.008 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.234e-05/0.0099, allocations: 75.28 kB / 1.008 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0099, allocations: 0 / 1.008 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002427/0.01014, allocations: 95.86 kB / 1.009 GB, free: 3.977 MB / 0.9636 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.000673/0.01082, allocations: 0.991 MB / 1.009 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01109, allocations: 239.8 kB / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01109, allocations: 0 / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.0112, allocations: 135.9 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.01133, allocations: 10.06 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.01187, allocations: 451.5 kB / 1.01 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.01193, allocations: 95.81 kB / 1.01 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.01206, allocations: 109.3 kB / 1.01 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.01212, allocations: 40.47 kB / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01212, allocations: 0 / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.03068, allocations: 4.751 MB / 1.015 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.938, allocations: 8 kB / 1.015 GB, free: 13.19 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.06018842663616]