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.001274/0.001274, 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.001416/0.001416, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 2.986/2.986, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_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.001833/0.001833, allocations: 62.59 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3099, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001651/0.3115, allocations: 0.587 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.3139, allocations: 1.733 MB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.3139, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.314, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.314, allocations: 3.938 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.3148, allocations: 316.2 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.315, allocations: 127.9 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.3151, allocations: 7.922 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.3151, allocations: 47.97 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3152, allocations: 55.92 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3152, allocations: 8 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.3157, allocations: 353 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.3158, allocations: 35.91 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.3159, allocations: 47.77 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.3162, allocations: 283.2 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3162, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3162, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3162, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 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.0006516/0.3169, allocations: 373.7 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3169, allocations: 12.03 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.635e-05/0.3169, allocations: 4.188 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.317, allocations: 46.73 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.317, allocations: 8.891 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.3171, allocations: 121.8 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3171, allocations: 8 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3172, allocations: 11.94 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.3175, allocations: 218.6 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3175, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.3175, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3175, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.3178, allocations: 187.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.3181, allocations: 253.1 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.3188, allocations: 383.8 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3191, allocations: 169.2 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3193, allocations: 40.97 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3193, allocations: 42.5 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.3193, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.000658/0.32, allocations: 385.9 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3201, allocations: 191.8 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.3201, allocations: 93.86 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3202, allocations: 29.7 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.3202, allocations: 80.64 kB / 1.351 GB, free: 9.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.3203, allocations: 107.1 kB / 1.351 GB, free: 9.312 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.3204, allocations: 61.69 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3205, allocations: 330.9 kB / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3206, allocations: 83.92 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.3208, allocations: 137.1 kB / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.3212, allocations: 265.8 kB / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3212, allocations: 0 / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004479/0.3216, allocations: 289.3 kB / 1.353 GB, free: 8.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3216, allocations: 4 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3217, allocations: 4.375 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3217, allocations: 0 / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3219, allocations: 63.89 kB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3219, allocations: 7.984 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.322, allocations: 23.89 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.322, allocations: 11.98 kB / 1.353 GB, free: 8 MB / 1.045 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.000115/0.3222, allocations: 141.6 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.3222, allocations: 7.953 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.3228, allocations: 356.9 kB / 1.353 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3228, allocations: 8 kB / 1.353 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3228, allocations: 3.938 kB / 1.353 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3228, allocations: 3.938 kB / 1.353 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.323, allocations: 224.5 kB / 1.353 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.323, allocations: 0 / 1.353 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.3233, allocations: 59.95 kB / 1.353 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3233, allocations: 4 kB / 1.353 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3233, allocations: 8 kB / 1.353 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3233, allocations: 12.3 kB / 1.353 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3233, allocations: 0 / 1.353 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.3238, allocations: 345.1 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.3239, allocations: 43.81 kB / 1.354 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3239, allocations: 7.938 kB / 1.354 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.324, allocations: 11.98 kB / 1.354 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.324, allocations: 27.91 kB / 1.354 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.324, allocations: 11.98 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.3241, allocations: 79.28 kB / 1.354 GB, free: 6.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3241, allocations: 0 / 1.354 GB, free: 6.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003546/0.3244, allocations: 103.8 kB / 1.354 GB, free: 6.477 MB / 1.045 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.0009871/0.3254, allocations: 0.9638 MB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3258, allocations: 235.7 kB / 1.355 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3258, allocations: 0 / 1.355 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.326, allocations: 128.8 kB / 1.355 GB, free: 5.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.3262, allocations: 20.03 kB / 1.355 GB, free: 5.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.3269, allocations: 444.1 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.327, allocations: 103.8 kB / 1.356 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.3273, allocations: 109.3 kB / 1.356 GB, free: 4.367 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.3273, allocations: 43.41 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.3273, allocations: 0 / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3511, allocations: 4.35 MB / 1.36 GB, free: 128 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.91, allocations: 7.062 kB / 1.36 GB, free: 124 kB / 1.045 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.137172342976555]