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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001671/0.001671, allocations: 102.2 kB / 16.27 MB, free: 6 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.001951/0.001952, allocations: 191 kB / 17.2 MB, free: 5.609 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.75 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002299/0.3441, allocations: 0.5893 MB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3467, allocations: 1.716 MB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.3467, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.3468, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.3468, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.348, allocations: 307.5 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3482, allocations: 127.8 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3482, allocations: 7.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.3483, allocations: 47.95 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3485, allocations: 55.94 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3485, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005725/0.3491, allocations: 299.6 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3492, allocations: 35.91 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.3493, allocations: 51.7 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.3497, allocations: 275.3 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3498, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3498, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3498, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 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.0007176/0.3505, allocations: 443.3 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3505, allocations: 12.03 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.3506, allocations: 8.844 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.3507, allocations: 176.2 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3508, allocations: 8.375 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3508, allocations: 16.12 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.3512, allocations: 223.9 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3512, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.3512, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3512, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.3515, allocations: 175.8 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.3519, allocations: 285.9 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.3526, allocations: 407.8 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3528, allocations: 185.1 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.3532, allocations: 195.2 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3533, allocations: 46.5 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.3533, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.0006473/0.3539, allocations: 385.2 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.354, allocations: 187.9 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.3541, allocations: 93.84 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3542, allocations: 37.83 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.3542, allocations: 84.64 kB / 1.07 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.3543, allocations: 106.5 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.3544, allocations: 57.69 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3545, allocations: 322.8 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3546, allocations: 83.94 kB / 1.071 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.3548, allocations: 141.1 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.3552, allocations: 262.5 kB / 1.071 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3552, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004226/0.3556, allocations: 297.5 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3556, allocations: 6.031 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3556, allocations: 0 / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3557, allocations: 7.984 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3559, allocations: 63.95 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.3559, allocations: 3.938 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.356, allocations: 19.75 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.356, allocations: 12 kB / 1.072 GB, free: 6.793 MB / 0.8419 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.000123/0.3561, allocations: 137.8 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.3562, allocations: 11.84 kB / 1.072 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.3567, allocations: 352.9 kB / 1.072 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3568, allocations: 8 kB / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3568, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3568, allocations: 3.984 kB / 1.072 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.357, allocations: 261.2 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.357, allocations: 0 / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3573, allocations: 68.27 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3573, allocations: 4 kB / 1.073 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3573, allocations: 4 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3573, allocations: 7.938 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3573, allocations: 4 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.3578, allocations: 345.1 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3579, allocations: 112.9 kB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3579, allocations: 8 kB / 1.073 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.358, allocations: 11.98 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.3581, allocations: 27.91 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3581, allocations: 12 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.3581, allocations: 75.28 kB / 1.073 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 3.938 kB / 1.073 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004007/0.3585, allocations: 99.92 kB / 1.073 GB, free: 5.145 MB / 0.8419 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.0005594/0.3591, allocations: 212.3 kB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.3595, allocations: 271.6 kB / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3596, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3597, allocations: 141.1 kB / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3599, allocations: 17.88 kB / 1.074 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.3606, allocations: 388.3 kB / 1.074 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3608, allocations: 0.7163 MB / 1.075 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.3609, allocations: 35.41 kB / 1.075 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of SimCode: time 1.903e-06/0.3609, allocations: 4 kB / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.005557/0.3665, allocations: 2.882 MB / 1.078 GB, free: 436 kB / 0.8419 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/jenkins1/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