Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001535/0.001535, allocations: 99.48 kB / 16.27 MB, free: 5.906 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.001505/0.001505, allocations: 190.3 kB / 17.2 MB, free: 5.539 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.98 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3428, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.7629/1.106, allocations: 214.2 MB / 1.274 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01244/1.118, allocations: 7.033 MB / 1.281 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/1.12, allocations: 43.75 kB / 1.281 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.123, allocations: 0.7881 MB / 1.282 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006897/1.13, allocations: 2.527 MB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/1.133, allocations: 1.156 MB / 1.285 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004287/1.137, allocations: 2.817 MB / 1.288 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.139, allocations: 1.089 MB / 1.289 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/1.143, allocations: 1.985 MB / 1.291 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/1.145, allocations: 0.9332 MB / 1.292 GB, free: 0 / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/1.146, allocations: 116 kB / 1.292 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004886/1.15, allocations: 2.451 MB / 1.294 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005883/1.151, allocations: 426.7 kB / 1.295 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/1.152, allocations: 0.6804 MB / 1.295 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004809/1.157, allocations: 2.466 MB / 1.298 GB, free: 9.855 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.157, allocations: 0 / 1.298 GB, free: 9.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.157, allocations: 0 / 1.298 GB, free: 9.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.879e-05/1.157, allocations: 0 / 1.298 GB, free: 9.855 MB / 1.014 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.004852/1.162, allocations: 1.84 MB / 1.3 GB, free: 7.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.162, allocations: 11.98 kB / 1.3 GB, free: 7.945 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/1.165, allocations: 0.5448 MB / 1.3 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/1.167, allocations: 0.9641 MB / 1.301 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006497/1.168, allocations: 173.9 kB / 1.301 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.168, allocations: 83.94 kB / 1.301 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/1.171, allocations: 1.237 MB / 1.302 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.171, allocations: 0 / 1.302 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.171, allocations: 36 kB / 1.303 GB, free: 4.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/1.171, allocations: 45.98 kB / 1.303 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/1.175, allocations: 1.546 MB / 1.304 GB, free: 3.266 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.007032/1.182, allocations: 4.076 MB / 1.308 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.185, allocations: 0.9992 MB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/1.186, allocations: 0.663 MB / 1.31 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.187, allocations: 0.6087 MB / 1.31 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.187, allocations: 43.22 kB / 1.31 GB, free: 12.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.187, allocations: 0 / 1.31 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.005224/1.193, allocations: 1.816 MB / 1.312 GB, free: 10.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.193, allocations: 60.06 kB / 1.312 GB, free: 10.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.194, allocations: 0.8271 MB / 1.313 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.194, allocations: 41.7 kB / 1.313 GB, free: 9.676 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/1.194, allocations: 436.5 kB / 1.313 GB, free: 9.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.195, allocations: 272.1 kB / 1.314 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/1.195, allocations: 150.5 kB / 1.314 GB, free: 8.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.195, allocations: 330 kB / 1.314 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/1.197, allocations: 0.5395 MB / 1.315 GB, free: 7.949 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.198, allocations: 0.6589 MB / 1.315 GB, free: 7.262 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/1.201, allocations: 1.13 MB / 1.316 GB, free: 6.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.201, allocations: 3.938 kB / 1.316 GB, free: 6.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003616/1.205, allocations: 1.345 MB / 1.318 GB, free: 4.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/1.205, allocations: 41.69 kB / 1.318 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.205, allocations: 0 / 1.318 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.205, allocations: 8.062 kB / 1.318 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.207, allocations: 251.6 kB / 1.318 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00081/1.208, allocations: 1.199 MB / 1.319 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.209, allocations: 153.8 kB / 1.319 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/1.209, allocations: 31.98 kB / 1.319 GB, free: 3.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001874/1.211, allocations: 0.7595 MB / 1.32 GB, free: 2.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/1.212, allocations: 0.6473 MB / 1.321 GB, free: 1.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003001/1.215, allocations: 1.127 MB / 1.322 GB, free: 448 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/1.215, allocations: 0 / 1.322 GB, free: 448 kB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00358/1.219, allocations: 1.341 MB / 1.323 GB, free: 15.08 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/1.219, allocations: 37.69 kB / 1.323 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.219, allocations: 3.938 kB / 1.323 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/1.219, allocations: 4 kB / 1.323 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.22, allocations: 231.8 kB / 1.323 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.22, allocations: 4 kB / 1.323 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.221, allocations: 127.5 kB / 1.324 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/1.221, allocations: 35.98 kB / 1.324 GB, free: 14.64 MB / 1.045 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.0002994/1.222, allocations: 232 kB / 1.324 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.222, allocations: 110.6 kB / 1.324 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/1.226, allocations: 1.363 MB / 1.325 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.226, allocations: 11.94 kB / 1.325 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.226, allocations: 4 kB / 1.325 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/1.226, allocations: 3.984 kB / 1.325 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/1.232, allocations: 2.851 MB / 1.328 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.232, allocations: 4 kB / 1.328 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.233, allocations: 236 kB / 1.328 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.233, allocations: 11.94 kB / 1.328 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/1.233, allocations: 23.98 kB / 1.328 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007909/1.234, allocations: 1.192 MB / 1.329 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.234, allocations: 11.92 kB / 1.329 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/1.237, allocations: 1.471 MB / 1.331 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/1.238, allocations: 307.6 kB / 1.331 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.238, allocations: 16 kB / 1.331 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.239, allocations: 111.9 kB / 1.331 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.24, allocations: 60.38 kB / 1.331 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/1.24, allocations: 35.97 kB / 1.331 GB, free: 6.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008185/1.24, allocations: 0.5739 MB / 1.332 GB, free: 5.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.24, allocations: 0 / 1.332 GB, free: 5.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001373/1.242, allocations: 0.5341 MB / 1.332 GB, free: 5.238 MB / 1.045 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.0006447/1.242, allocations: 279.5 kB / 1.333 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005921/1.248, allocations: 2.135 MB / 1.335 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.248, allocations: 4 kB / 1.335 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.25, allocations: 0.6637 MB / 1.335 GB, free: 2.145 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.253, allocations: 0.4892 MB / 1.336 GB, free: 1.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/1.258, allocations: 2.169 MB / 1.338 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/1.258, allocations: 1.087 MB / 1.339 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/1.259, allocations: 103.4 kB / 1.339 GB, free: 14.19 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/1.259, allocations: 0 / 1.339 GB, free: 14.19 MB / 1.061 GB Notification: Performance of Templates: time 0.03603/1.295, allocations: 26.75 MB / 1.365 GB, free: 3.559 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches