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.001424/0.001424, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001702/0.001702, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 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 2.891/2.891, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.001769/0.001769, allocations: 69.84 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2734, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001521/0.2749, allocations: 0.6113 MB / 1.346 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.2772, allocations: 1.808 MB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2772, allocations: 0 / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2772, allocations: 15.92 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.2773, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.278, allocations: 311.7 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.2782, allocations: 131.8 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 2.958e-05/0.2783, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.2783, allocations: 51.95 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2784, allocations: 59.86 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2784, allocations: 4 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.2789, allocations: 347.6 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.279, allocations: 39.89 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.279, allocations: 43.78 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2794, allocations: 287.2 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2794, allocations: 7.938 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2794, allocations: 0 / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2794, allocations: 0 / 1.349 GB, free: 12.73 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.00059/0.28, allocations: 377.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.28, allocations: 8.031 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.172e-05/0.28, allocations: 8.125 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.2801, allocations: 50.73 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2801, allocations: 8.891 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.2802, allocations: 117.8 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2802, allocations: 12 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2802, allocations: 12 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.2806, allocations: 218.6 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2806, allocations: 3.938 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2806, allocations: 4 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2806, allocations: 4 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2809, allocations: 175.8 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.2811, allocations: 257.2 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.2818, allocations: 387.8 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.282, allocations: 165.2 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.2822, allocations: 44.89 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2823, allocations: 42.55 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.2823, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0006328/0.2829, allocations: 390.4 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.283, allocations: 183.9 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.2831, allocations: 93.86 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2831, allocations: 29.7 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2831, allocations: 80.64 kB / 1.352 GB, free: 9.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.2832, allocations: 111.2 kB / 1.352 GB, free: 9.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.2833, allocations: 61.69 kB / 1.352 GB, free: 9.633 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2834, allocations: 322.8 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2835, allocations: 87.92 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2837, allocations: 145 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.2841, allocations: 261.2 kB / 1.352 GB, free: 8.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2841, allocations: 0 / 1.352 GB, free: 8.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000448/0.2845, allocations: 293.3 kB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2845, allocations: 4 kB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2845, allocations: 4 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2846, allocations: 4 kB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2848, allocations: 51.91 kB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2848, allocations: 4 kB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.2849, allocations: 19.88 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2849, allocations: 19.98 kB / 1.353 GB, free: 8.391 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.0001075/0.285, allocations: 145.6 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.285, allocations: 15.94 kB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005683/0.2856, allocations: 361.4 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2856, allocations: 4 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2856, allocations: 4 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2856, allocations: 11.86 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.2859, allocations: 228.5 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2859, allocations: 8 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.2861, allocations: 51.91 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2861, allocations: 4 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2861, allocations: 11.98 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2861, allocations: 4 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2861, allocations: 0 / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.2865, allocations: 345.1 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.2866, allocations: 47.8 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2867, allocations: 8 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.2867, allocations: 4 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.2868, allocations: 31.89 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2868, allocations: 11.98 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.2868, allocations: 79.28 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2868, allocations: 0 / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003423/0.2872, allocations: 103.8 kB / 1.354 GB, free: 6.852 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.0009563/0.2881, allocations: 0.9641 MB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.2885, allocations: 243.7 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2885, allocations: 0 / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.2887, allocations: 127.8 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.2889, allocations: 15.94 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.2896, allocations: 443.6 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2899, allocations: 0.7163 MB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000205/0.2901, allocations: 105.4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.2902, allocations: 39.41 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.2902, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3141, allocations: 4.451 MB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.981/10.3, allocations: 4.266 kB / 1.361 GB, free: 15.78 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.305782278010156]