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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009486/0.009486, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001916/0.001916, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 79.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8713, allocations: 140.3 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001878/0.8732, allocations: 0.6586 MB / 0.9502 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.8755, allocations: 1.762 MB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.8755, allocations: 0 / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.8756, allocations: 0 / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.8756, allocations: 5.281 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.8764, allocations: 255 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.8765, allocations: 119.4 kB / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.8766, allocations: 6.172 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.8767, allocations: 47.84 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8768, allocations: 57.7 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.8768, allocations: 6.188 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.8772, allocations: 289.7 kB / 0.9527 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.8773, allocations: 40.77 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.8774, allocations: 44.98 kB / 0.9528 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.8776, allocations: 176 kB / 0.953 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8776, allocations: 4 kB / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8776, allocations: 0 / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8776, allocations: 0 / 0.953 GB, free: 6.672 MB / 0.7169 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.0006075/0.8783, allocations: 445.6 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8783, allocations: 8.906 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.8784, allocations: 10.12 kB / 0.9534 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.8784, allocations: 174.7 kB / 0.9536 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.8785, allocations: 12.62 kB / 0.9536 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.8785, allocations: 13.34 kB / 0.9536 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.8788, allocations: 213.8 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8788, allocations: 1.594 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.8789, allocations: 5.469 kB / 0.9538 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8789, allocations: 6.562 kB / 0.9538 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.8791, allocations: 179 kB / 0.954 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.8794, allocations: 280 kB / 0.9542 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.8801, allocations: 414.3 kB / 0.9546 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.8803, allocations: 190.7 kB / 0.9548 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003247/0.8807, allocations: 197.3 kB / 0.955 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.8807, allocations: 42.16 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.8807, allocations: 0 / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.000633/0.8813, allocations: 384.3 kB / 0.9554 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.8814, allocations: 196.5 kB / 0.9556 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.251e-05/0.8814, allocations: 90.95 kB / 0.9557 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.8815, allocations: 30.83 kB / 0.9557 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.8815, allocations: 81.8 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.8816, allocations: 99.12 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.8816, allocations: 59.97 kB / 0.9559 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.8817, allocations: 326.5 kB / 0.9563 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.8818, allocations: 93.61 kB / 0.9564 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.882, allocations: 133.4 kB / 0.9565 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.8824, allocations: 267 kB / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8824, allocations: 0 / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004/0.8828, allocations: 289.3 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8828, allocations: 4.594 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.8828, allocations: 2.75 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8828, allocations: 1.656 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.8831, allocations: 62.27 kB / 0.9571 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8831, allocations: 3.688 kB / 0.9571 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.8832, allocations: 15.38 kB / 0.9571 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.8832, allocations: 12.95 kB / 0.9571 GB, free: 3.273 MB / 0.7169 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 9.749e-05/0.8833, allocations: 144.5 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.8834, allocations: 11.09 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.8839, allocations: 364.5 kB / 0.9576 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.8839, allocations: 4.125 kB / 0.9576 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.8839, allocations: 1.938 kB / 0.9576 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8839, allocations: 2.75 kB / 0.9576 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8841, allocations: 251.9 kB / 0.9579 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8841, allocations: 6.688 kB / 0.9579 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.8844, allocations: 60.86 kB / 0.9579 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8844, allocations: 6.656 kB / 0.9579 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.8844, allocations: 13.3 kB / 0.9579 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.8844, allocations: 6.781 kB / 0.9579 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8844, allocations: 1.312 kB / 0.9579 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.8849, allocations: 348.9 kB / 0.9583 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.885, allocations: 128 kB / 0.9584 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.885, allocations: 6.781 kB / 0.9584 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.8851, allocations: 6.188 kB / 0.9584 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.8851, allocations: 23.03 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.8852, allocations: 13.52 kB / 0.9584 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.225e-05/0.8852, allocations: 84.28 kB / 0.9585 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8852, allocations: 4.094 kB / 0.9585 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004441/0.8856, allocations: 93.36 kB / 0.9586 GB, free: 2.152 MB / 0.7169 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.0005329/0.8862, allocations: 211.4 kB / 0.9588 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.8866, allocations: 244.6 kB / 0.9591 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8866, allocations: 1.125 kB / 0.9591 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.8868, allocations: 146.3 kB / 0.9592 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.887, allocations: 17.8 kB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.8876, allocations: 427.2 kB / 0.9596 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.8877, allocations: 0.7115 MB / 0.9603 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.8878, allocations: 37.19 kB / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8878, allocations: 0 / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of Templates: time 0.004787/0.8926, allocations: 2.872 MB / 0.9632 GB, free: 15.32 MB / 0.7325 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