Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006929/0.006929, allocations: 97 kB / 15.73 MB, free: 5.949 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.001531/0.001531, allocations: 193 kB / 16.67 MB, free: 5.871 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.31 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.835/0.8363, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001583/0.8379, allocations: 0.6056 MB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.84, allocations: 1.723 MB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.84, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.8401, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.8401, allocations: 3.938 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.8409, allocations: 307.2 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.8411, allocations: 135.8 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.8411, allocations: 0 / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.8412, allocations: 51.95 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.8413, allocations: 55.88 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.8413, allocations: 4 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.8418, allocations: 344.1 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.8419, allocations: 35.91 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.8419, allocations: 51.77 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.8422, allocations: 275.8 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8423, allocations: 4 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8423, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8423, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 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.000627/0.8429, allocations: 446.8 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.843, allocations: 12.03 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.843, allocations: 8.891 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.8431, allocations: 180.2 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.8431, allocations: 8.375 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.8432, allocations: 16.12 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.8435, allocations: 214.6 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8435, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.8435, allocations: 8 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.8435, allocations: 4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.8438, allocations: 175.8 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.8441, allocations: 286.1 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.8447, allocations: 403.8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.8449, allocations: 189.1 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.8452, allocations: 195.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.8453, allocations: 42.55 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.8453, allocations: 4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0006235/0.8459, allocations: 386.4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.846, allocations: 183.9 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.846, allocations: 101.8 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8461, allocations: 29.7 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.8461, allocations: 80.7 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.8462, allocations: 103.1 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.8463, allocations: 65.8 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.8464, allocations: 318.8 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.8465, allocations: 87.92 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.8467, allocations: 137.1 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.847, allocations: 261.3 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.847, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004145/0.8475, allocations: 293.2 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8475, allocations: 4 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8475, allocations: 4 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8475, allocations: 4 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.8477, allocations: 55.91 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8478, allocations: 4.375 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.8479, allocations: 19.83 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.8479, allocations: 15.97 kB / 1.174 GB, free: 11.57 MB / 0.9044 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.0001035/0.848, allocations: 137.8 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.848, allocations: 27.86 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.8486, allocations: 360.7 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8486, allocations: 4 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8486, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.8487, allocations: 3.984 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.8489, allocations: 253.4 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8489, allocations: 8 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.8491, allocations: 59.84 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8492, allocations: 4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.8492, allocations: 11.98 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8492, allocations: 4 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.8492, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.8496, allocations: 349.9 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.8497, allocations: 121 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.8498, allocations: 4 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.8499, allocations: 8 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.8499, allocations: 27.91 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.8499, allocations: 11.98 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.85, allocations: 79.28 kB / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.85, allocations: 0 / 1.176 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003642/0.8504, allocations: 99.86 kB / 1.176 GB, free: 9.898 MB / 0.9044 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.0004782/0.8508, allocations: 207.3 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.8512, allocations: 247.9 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8513, allocations: 8.094 kB / 1.176 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.8514, allocations: 141.2 kB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.8516, allocations: 12 kB / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.8521, allocations: 354.2 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.8524, allocations: 0.7124 MB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00021/0.8526, allocations: 113.4 kB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.8527, allocations: 31.41 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.8527, allocations: 0 / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of Templates: time 0.005141/0.8578, allocations: 2.587 MB / 1.18 GB, free: 5.438 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches