Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 109 kB / 15.99 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 186.8 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.2 MB / 0.665 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.38 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002094/0.2977, allocations: 0.6502 MB / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.3005, allocations: 1.715 MB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.3005, allocations: 4 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.3006, allocations: 4 kB / 0.9521 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.3006, allocations: 3.938 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3017, allocations: 279.1 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3019, allocations: 127.9 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.302, allocations: 0 / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.3021, allocations: 55.89 kB / 0.9525 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3022, allocations: 59.86 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3022, allocations: 8 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.3027, allocations: 287.6 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.3028, allocations: 39.91 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.3029, allocations: 47.77 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.3032, allocations: 183.6 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3032, allocations: 4 kB / 0.9531 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3032, allocations: 0 / 0.9531 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3032, allocations: 0 / 0.9531 GB, free: 5.801 MB / 0.7325 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.0007049/0.3039, allocations: 440.9 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.304, allocations: 12.03 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.3041, allocations: 8.844 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3042, allocations: 172.3 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3042, allocations: 15.94 kB / 0.9538 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3042, allocations: 12 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3046, allocations: 218.6 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3046, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3046, allocations: 4 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3047, allocations: 11.94 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3049, allocations: 179.8 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.3053, allocations: 278 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.306, allocations: 411.8 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.3063, allocations: 185.2 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.3067, allocations: 199.1 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3067, allocations: 38.56 kB / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.3067, allocations: 0 / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006608/0.3074, allocations: 386.3 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.3075, allocations: 191.9 kB / 0.9558 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.3076, allocations: 93.84 kB / 0.9559 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3076, allocations: 33.64 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.3076, allocations: 84.7 kB / 0.956 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.3077, allocations: 102.5 kB / 0.9561 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.3078, allocations: 57.62 kB / 0.9561 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3079, allocations: 331 kB / 0.9565 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3081, allocations: 88.25 kB / 0.9565 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3083, allocations: 137.1 kB / 0.9567 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3086, allocations: 260.9 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3086, allocations: 4 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004363/0.3091, allocations: 297.3 kB / 0.9572 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3091, allocations: 4 kB / 0.9572 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3091, allocations: 0 / 0.9572 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3091, allocations: 4 kB / 0.9572 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.3094, allocations: 55.89 kB / 0.9573 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3094, allocations: 4 kB / 0.9573 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3095, allocations: 15.84 kB / 0.9573 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3095, allocations: 8 kB / 0.9573 GB, free: 1.129 MB / 0.7325 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.0001283/0.3097, allocations: 151.7 kB / 0.9574 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3097, allocations: 15.81 kB / 0.9574 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.3103, allocations: 361.3 kB / 0.9578 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3103, allocations: 4 kB / 0.9578 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3104, allocations: 3.984 kB / 0.9578 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3104, allocations: 4 kB / 0.9578 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3106, allocations: 257.3 kB / 0.9581 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3106, allocations: 0 / 0.9581 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.3109, allocations: 59.89 kB / 0.9581 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3109, allocations: 4 kB / 0.9581 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3109, allocations: 12 kB / 0.9581 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3109, allocations: 0 / 0.9581 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3109, allocations: 4 kB / 0.9581 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.3114, allocations: 349.7 kB / 0.9585 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.3115, allocations: 116.9 kB / 0.9586 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3115, allocations: 8 kB / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.3116, allocations: 11.98 kB / 0.9586 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3117, allocations: 19.97 kB / 0.9586 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3117, allocations: 12 kB / 0.9586 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.3118, allocations: 91.09 kB / 0.9587 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3118, allocations: 4.094 kB / 0.9587 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004178/0.3122, allocations: 95.92 kB / 0.9588 GB, free: 15.46 MB / 0.7481 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.0005623/0.3128, allocations: 209.9 kB / 0.959 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.3132, allocations: 267.9 kB / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3132, allocations: 0 / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.3134, allocations: 143.8 kB / 0.9594 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.3136, allocations: 18.33 kB / 0.9594 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3142, allocations: 424.1 kB / 0.9598 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3145, allocations: 0.7124 MB / 0.9605 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.3146, allocations: 39.41 kB / 0.9606 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3146, allocations: 0 / 0.9606 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.005515/0.3201, allocations: 2.89 MB / 0.9634 GB, free: 10.7 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches