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.001313/0.001313, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001493/0.001493, allocations: 212 kB / 22.25 MB, free: 4.859 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.801 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.991/2.991, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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="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: 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.001921/0.001921, allocations: 67.42 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001655/0.3146, allocations: 0.6068 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.317, allocations: 1.726 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.317, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.317, allocations: 7.875 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.317, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.3179, allocations: 317.4 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.318, allocations: 131.8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.3181, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.3181, allocations: 47.95 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3182, allocations: 55.88 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3183, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.3188, allocations: 349.4 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.3188, allocations: 35.91 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.3189, allocations: 39.84 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3192, allocations: 283.1 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3192, allocations: 4 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3192, allocations: 3.938 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3192, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.061 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.0006157/0.3198, allocations: 373.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3199, allocations: 8.031 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3199, allocations: 50.73 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.32, allocations: 8.891 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3201, allocations: 122 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3201, allocations: 8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3201, allocations: 12 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.3205, allocations: 223.2 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3205, allocations: 3.938 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3205, allocations: 4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3205, allocations: 8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.3208, allocations: 171.8 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.3211, allocations: 253.1 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.3218, allocations: 387.8 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.322, allocations: 165.2 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.3222, allocations: 40.91 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3223, allocations: 42.56 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.552e-06/0.3223, allocations: 4 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0006643/0.3229, allocations: 385.2 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.323, allocations: 187.9 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.3231, allocations: 89.86 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3231, allocations: 29.7 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.3232, allocations: 84.64 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.3232, allocations: 103.1 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.3233, allocations: 49.69 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3235, allocations: 330.8 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3236, allocations: 87.92 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3238, allocations: 141.1 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.3242, allocations: 262.5 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3242, allocations: 0 / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004562/0.3246, allocations: 289.6 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3246, allocations: 10.19 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3246, allocations: 3.938 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3247, allocations: 4 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3249, allocations: 59.89 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3249, allocations: 4 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.325, allocations: 11.89 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.325, allocations: 15.98 kB / 1.371 GB, free: 6.188 MB / 1.061 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.0001282/0.3251, allocations: 145.6 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3252, allocations: 11.95 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.3258, allocations: 368.7 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.3258, allocations: 4 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3258, allocations: 0 / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3258, allocations: 4 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.326, allocations: 221 kB / 1.371 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3261, allocations: 3.984 kB / 1.371 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3263, allocations: 67.89 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3263, allocations: 4 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3263, allocations: 11.98 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3263, allocations: 0 / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3263, allocations: 4 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.3268, allocations: 349.1 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3269, allocations: 43.84 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.3269, allocations: 8 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.327, allocations: 8 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.3271, allocations: 27.89 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3271, allocations: 8 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.3271, allocations: 79.27 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3271, allocations: 8.094 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003622/0.3275, allocations: 95.81 kB / 1.372 GB, free: 4.648 MB / 1.061 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.001036/0.3285, allocations: 0.9762 MB / 1.373 GB, free: 3.625 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.3289, allocations: 240.2 kB / 1.373 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.3289, allocations: 4 kB / 1.373 GB, free: 3.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3291, allocations: 128.5 kB / 1.373 GB, free: 3.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.3293, allocations: 15.94 kB / 1.373 GB, free: 3.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.33, allocations: 446.8 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.635e-05/0.3301, allocations: 95.75 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3304, allocations: 105.4 kB / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.3304, allocations: 43.41 kB / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3304, allocations: 0 / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3602, allocations: 4.586 MB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.48, allocations: 9.828 kB / 1.379 GB, free: 14.04 MB / 1.076 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: 16.60497455392033]