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.00153/0.00153, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001795/0.001795, allocations: 210.1 kB / 23.04 MB, free: 5.07 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 2.923/2.923, allocations: 0.49 GB / 0.7959 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] 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.001997/0.001997, allocations: 65.3 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001668/0.3467, allocations: 0.6044 MB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3493, allocations: 1.818 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.3493, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.3493, allocations: 3.984 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.526e-05/0.3493, allocations: 3.938 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.3502, allocations: 307.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3504, allocations: 131.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.3504, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.3505, allocations: 47.95 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3506, allocations: 63.84 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3506, allocations: 12 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.3511, allocations: 349.5 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.3512, allocations: 43.89 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.3512, allocations: 39.78 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3516, allocations: 287.2 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3516, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3516, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3516, allocations: 0 / 1.33 GB, free: 14.24 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.000635/0.3523, allocations: 377.7 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3523, allocations: 12.03 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.585e-05/0.3523, allocations: 4.125 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.3524, allocations: 50.73 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3524, allocations: 8.891 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/0.3525, allocations: 114.4 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3525, allocations: 12.12 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3525, allocations: 12 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.3529, allocations: 218.6 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3529, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3529, allocations: 8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3529, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.3532, allocations: 175.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.3535, allocations: 257.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.3542, allocations: 391.7 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.3545, allocations: 165.1 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.3547, allocations: 40.95 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.3547, allocations: 50.55 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.3548, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006736/0.3554, allocations: 393.1 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3555, allocations: 183.9 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.3556, allocations: 93.86 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3556, allocations: 33.64 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.3557, allocations: 80.64 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3558, allocations: 115.1 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.3558, allocations: 49.69 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.356, allocations: 322.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3561, allocations: 83.92 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3563, allocations: 149.7 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.3567, allocations: 258.5 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3567, allocations: 7.938 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004529/0.3572, allocations: 285.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3572, allocations: 8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3572, allocations: 3.984 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3572, allocations: 8 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3574, allocations: 51.91 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3574, allocations: 4 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.3575, allocations: 19.84 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3576, allocations: 19.92 kB / 1.334 GB, free: 9.902 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.0001251/0.3577, allocations: 142.2 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3577, allocations: 15.94 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.3583, allocations: 360.8 kB / 1.335 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3583, allocations: 4 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3584, allocations: 0 / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3584, allocations: 7.984 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3586, allocations: 228.5 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3586, allocations: 448 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3588, allocations: 59.91 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3588, allocations: 0 / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3589, allocations: 15.98 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3589, allocations: 0 / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3589, allocations: 4 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.3593, allocations: 341.2 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.3594, allocations: 47.8 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3595, allocations: 8 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3595, allocations: 12 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.3596, allocations: 27.89 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3596, allocations: 11.98 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.3597, allocations: 75.28 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3597, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003868/0.36, allocations: 107.7 kB / 1.336 GB, free: 8.371 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.001022/0.3611, allocations: 0.9639 MB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.3614, allocations: 241.3 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3615, allocations: 4 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.3616, allocations: 128.5 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.3618, allocations: 21.14 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.3626, allocations: 435.9 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.363, allocations: 0.7163 MB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.3632, allocations: 109.3 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.3633, allocations: 43.41 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3633, allocations: 0 / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.3894, allocations: 4.444 MB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.56, allocations: 7.828 kB / 1.342 GB, free: 1.309 MB / 1.029 GB " [Timeout remaining time 289] (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: 16.770602645003237]