Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009351/0.009351, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 462.7 MB / 0.7364 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8.062 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8537/1.189, allocations: 209.2 MB / 1.263 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009888/1.199, allocations: 7.061 MB / 1.27 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/1.201, allocations: 41.31 kB / 1.27 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/1.203, allocations: 0.6491 MB / 1.271 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/1.209, allocations: 2.373 MB / 1.273 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.212, allocations: 1.053 MB / 1.274 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005128/1.217, allocations: 3.744 MB / 1.278 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/1.219, allocations: 0.9026 MB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/1.223, allocations: 1.761 MB / 1.28 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/1.226, allocations: 0.9106 MB / 1.281 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/1.226, allocations: 46.19 kB / 1.281 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006639/1.233, allocations: 2.798 MB / 1.284 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007771/1.234, allocations: 347 kB / 1.284 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.235, allocations: 0.6263 MB / 1.285 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005103/1.24, allocations: 2.526 MB / 1.287 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.24, allocations: 1.188 kB / 1.287 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.24, allocations: 0 / 1.287 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.24, allocations: 0 / 1.287 GB, free: 2.309 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004485/1.245, allocations: 1.601 MB / 1.289 GB, free: 17.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.245, allocations: 9.75 kB / 1.289 GB, free: 17.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/1.248, allocations: 0.5816 MB / 1.289 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/1.25, allocations: 0.9578 MB / 1.29 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006709/1.251, allocations: 201.2 kB / 1.291 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/1.251, allocations: 95.95 kB / 1.291 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/1.254, allocations: 1.272 MB / 1.292 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.254, allocations: 0 / 1.292 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.254, allocations: 30.72 kB / 1.292 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/1.254, allocations: 45 kB / 1.292 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/1.258, allocations: 1.618 MB / 1.293 GB, free: 16.85 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/1.265, allocations: 4.095 MB / 1.297 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/1.268, allocations: 1.051 MB / 1.299 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.269, allocations: 0.6942 MB / 1.299 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.27, allocations: 0.6415 MB / 1.3 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.27, allocations: 45.81 kB / 1.3 GB, free: 14.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.27, allocations: 0 / 1.3 GB, free: 14.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005347/1.276, allocations: 1.925 MB / 1.302 GB, free: 14.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.276, allocations: 59.22 kB / 1.302 GB, free: 14.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.277, allocations: 0.8193 MB / 1.303 GB, free: 14.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/1.277, allocations: 42.48 kB / 1.303 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/1.278, allocations: 441.6 kB / 1.303 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.278, allocations: 262.2 kB / 1.303 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/1.278, allocations: 58.67 kB / 1.303 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.278, allocations: 336.6 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.279, allocations: 0.5607 MB / 1.304 GB, free: 13.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.281, allocations: 0.6908 MB / 1.305 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.284, allocations: 1.205 MB / 1.306 GB, free: 13.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.284, allocations: 0 / 1.306 GB, free: 13.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003849/1.288, allocations: 1.418 MB / 1.307 GB, free: 13.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.288, allocations: 150.8 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.288, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.288, allocations: 8.594 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/1.29, allocations: 278.7 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000684/1.291, allocations: 1.192 MB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.292, allocations: 195 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.293, allocations: 30.7 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.293, allocations: 3.812 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/1.296, allocations: 1.307 MB / 1.311 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.296, allocations: 10.83 kB / 1.311 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/1.296, allocations: 6.594 kB / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.297, allocations: 246.5 kB / 1.311 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.297, allocations: 3.531 kB / 1.311 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.299, allocations: 196.6 kB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.299, allocations: 32.06 kB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007459/1.3, allocations: 375.6 kB / 1.311 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/1.3, allocations: 104.4 kB / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/1.304, allocations: 1.446 MB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.304, allocations: 9.156 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.304, allocations: 0 / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.304, allocations: 6 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/1.31, allocations: 2.929 MB / 1.316 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.31, allocations: 5.812 kB / 1.316 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.311, allocations: 247.3 kB / 1.316 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/1.311, allocations: 9.828 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/1.311, allocations: 25.27 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005776/1.312, allocations: 1.192 MB / 1.317 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.312, allocations: 8.719 kB / 1.317 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/1.315, allocations: 1.54 MB / 1.319 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/1.316, allocations: 313.8 kB / 1.319 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.316, allocations: 15.56 kB / 1.319 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.318, allocations: 165.5 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.318, allocations: 57.41 kB / 1.319 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/1.318, allocations: 39.02 kB / 1.319 GB, free: 8.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007724/1.319, allocations: 0.5735 MB / 1.32 GB, free: 8.871 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.319, allocations: 0 / 1.32 GB, free: 8.871 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001494/1.32, allocations: 0.5298 MB / 1.32 GB, free: 8.812 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006258/1.321, allocations: 278 kB / 1.321 GB, free: 8.684 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005467/1.326, allocations: 2.139 MB / 1.323 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/1.326, allocations: 0 / 1.323 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/1.328, allocations: 0.7039 MB / 1.323 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.332, allocations: 0.5193 MB / 1.324 GB, free: 8.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/1.337, allocations: 2.558 MB / 1.326 GB, free: 7.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.338, allocations: 1.096 MB / 1.327 GB, free: 6.477 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002003/1.34, allocations: 392.6 kB / 1.328 GB, free: 6.387 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.34, allocations: 87.84 kB / 1.328 GB, free: 6.379 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.34, allocations: 0 / 1.328 GB, free: 6.379 MB / 1.014 GB Notification: Performance of Templates: time 0.03535/1.376, allocations: 20.24 MB / 1.348 GB, free: 14.57 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches