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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007267/0.007267, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001713/0.001714, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3694, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001718/0.3712, allocations: 0.6011 MB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3736, allocations: 1.724 MB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.3737, allocations: 4 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3737, allocations: 0 / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.3738, allocations: 3.938 kB / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.3747, allocations: 306.3 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3749, allocations: 127.9 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.375, allocations: 3.984 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.375, allocations: 47.91 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3752, allocations: 55.92 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3752, allocations: 4 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.3757, allocations: 343.5 kB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.3758, allocations: 35.91 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.3758, allocations: 55.7 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.3762, allocations: 271.2 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3762, allocations: 3.984 kB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3762, allocations: 0 / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3762, allocations: 4 kB / 1.229 GB, free: 5.551 MB / 0.9825 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.0006709/0.3769, allocations: 438.8 kB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.377, allocations: 12.03 kB / 1.23 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.377, allocations: 12.89 kB / 1.23 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3771, allocations: 176.2 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3772, allocations: 12.38 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3772, allocations: 24.11 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.3775, allocations: 214.7 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3776, allocations: 3.938 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3776, allocations: 12 kB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3776, allocations: 4 kB / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.3779, allocations: 171.8 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.3782, allocations: 286.1 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.3789, allocations: 407.8 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3792, allocations: 189.1 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.3795, allocations: 195.2 kB / 1.231 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3796, allocations: 42.5 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.3796, allocations: 0 / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006704/0.3803, allocations: 398.6 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.3804, allocations: 183.9 kB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.3804, allocations: 89.86 kB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3805, allocations: 33.7 kB / 1.232 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.3805, allocations: 80.7 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3806, allocations: 107.1 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.3807, allocations: 61.75 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3808, allocations: 322.8 kB / 1.232 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3809, allocations: 91.92 kB / 1.233 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3811, allocations: 133 kB / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3815, allocations: 265.1 kB / 1.233 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3815, allocations: 3.938 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004309/0.3819, allocations: 289.3 kB / 1.233 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.382, allocations: 4 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.382, allocations: 4 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.382, allocations: 0 / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3822, allocations: 59.89 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3822, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.805e-05/0.3823, allocations: 19.89 kB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.3824, allocations: 15.98 kB / 1.233 GB, free: 0.8594 MB / 0.9825 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.0001192/0.3825, allocations: 143.1 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.3825, allocations: 15.84 kB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.3832, allocations: 361.2 kB / 1.234 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3832, allocations: 4 kB / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3832, allocations: 4 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3832, allocations: 0 / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3835, allocations: 257.4 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3835, allocations: 7.984 kB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3837, allocations: 55.91 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3837, allocations: 4 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3838, allocations: 11.98 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3838, allocations: 4 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3838, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.3843, allocations: 353.5 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.3844, allocations: 117 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3844, allocations: 8.375 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.3845, allocations: 8 kB / 1.235 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3845, allocations: 23.97 kB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3846, allocations: 15.98 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.3846, allocations: 79.28 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3846, allocations: 0 / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004126/0.385, allocations: 99.8 kB / 1.235 GB, free: 15.21 MB / 0.9981 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.0005595/0.3856, allocations: 210.2 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.386, allocations: 251.9 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.386, allocations: 4.094 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3862, allocations: 147.7 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.3864, allocations: 13.56 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.387, allocations: 356 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3873, allocations: 0.7124 MB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.3875, allocations: 105.4 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.3876, allocations: 31.42 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.3876, allocations: 0 / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.005696/0.3933, allocations: 2.59 MB / 1.239 GB, free: 10.74 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches