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.007798/0.007798, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.00183/0.00183, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.208/2.208, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8513, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001759/0.8531, allocations: 0.5985 MB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.8553, allocations: 1.716 MB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.8554, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.8554, allocations: 1.562 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.8555, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.8564, allocations: 310.4 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.8566, allocations: 130.9 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.8566, allocations: 3.844 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.8567, allocations: 47.27 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.8569, allocations: 58.83 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.8569, allocations: 5.281 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.8575, allocations: 345 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.8575, allocations: 36.72 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.8576, allocations: 46.48 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.8581, allocations: 274.4 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8581, allocations: 1.312 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8581, allocations: 4 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8581, allocations: 0 / 1.091 GB, free: 3.488 MB / 0.8575 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.0006919/0.8588, allocations: 448.9 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8589, allocations: 8.969 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.8589, allocations: 14.84 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.859, allocations: 175 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.859, allocations: 12.97 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.8591, allocations: 13.02 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.8595, allocations: 214.2 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8595, allocations: 4.812 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.8595, allocations: 6.672 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8595, allocations: 3.344 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.8599, allocations: 179.8 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.8602, allocations: 279.4 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.8609, allocations: 419.4 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.8612, allocations: 176.2 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.8615, allocations: 205.6 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.8615, allocations: 38.72 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.8616, allocations: 1 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007505/0.8623, allocations: 382.4 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.8624, allocations: 192.8 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.8624, allocations: 92.33 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.8624, allocations: 31.55 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.8625, allocations: 84.64 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.8626, allocations: 107.9 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.8627, allocations: 56.56 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.8627, allocations: 325.5 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.8629, allocations: 92.31 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.8631, allocations: 141.6 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.8635, allocations: 256.4 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8635, allocations: 0 / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005226/0.8641, allocations: 292 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8641, allocations: 9.266 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8641, allocations: 2.125 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8641, allocations: 2.875 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.8644, allocations: 55.27 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8644, allocations: 3.391 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.8645, allocations: 17.19 kB / 1.096 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.8645, allocations: 10.42 kB / 1.096 GB, free: 0.5039 MB / 0.8575 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.0001007/0.8646, allocations: 143 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.8647, allocations: 15.19 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006388/0.8653, allocations: 370.4 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.8654, allocations: 5.609 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8654, allocations: 2.531 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.8654, allocations: 7.359 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.8657, allocations: 256.9 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8657, allocations: 2.188 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.8659, allocations: 59.42 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.8659, allocations: 3.469 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.866, allocations: 15 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.866, allocations: 7.375 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.866, allocations: 1.094 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.8665, allocations: 340.8 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.8667, allocations: 122.8 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.8667, allocations: 7.75 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.8668, allocations: 6.938 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.8669, allocations: 23.77 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.8669, allocations: 15.33 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.867, allocations: 81.03 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.867, allocations: 0 / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004197/0.8674, allocations: 92.17 kB / 1.097 GB, free: 15.56 MB / 0.8731 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.0005142/0.8679, allocations: 214.4 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.8684, allocations: 250.6 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8684, allocations: 0 / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.8686, allocations: 144.6 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.8688, allocations: 19.53 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.8694, allocations: 346.9 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8698, allocations: 0.715 MB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.8701, allocations: 106.8 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.8702, allocations: 29.86 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of SimCode: time 1.874e-06/0.8702, allocations: 0 / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.007715/0.8779, allocations: 2.602 MB / 1.101 GB, free: 14.17 MB / 0.8731 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/jenkins/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