Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001562/0.001563, allocations: 115.3 kB / 16.42 MB, free: 6.496 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: 183.9 kB / 17.34 MB, free: 5.758 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8514, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2216/1.073, allocations: 214.2 MB / 1.377 GB, free: 12.84 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.084, allocations: 7.042 MB / 1.383 GB, free: 5.781 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/1.086, allocations: 39.75 kB / 1.383 GB, free: 5.742 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/1.088, allocations: 0.8155 MB / 1.384 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/1.095, allocations: 2.638 MB / 1.387 GB, free: 2.273 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/1.098, allocations: 1.174 MB / 1.388 GB, free: 1.109 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004068/1.102, allocations: 2.829 MB / 1.391 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/1.104, allocations: 1.091 MB / 1.392 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/1.109, allocations: 2.055 MB / 1.394 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/1.111, allocations: 0.9375 MB / 1.395 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/1.112, allocations: 120 kB / 1.395 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/1.117, allocations: 2.459 MB / 1.397 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007108/1.118, allocations: 430.6 kB / 1.398 GB, free: 7.164 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.119, allocations: 0.6843 MB / 1.398 GB, free: 6.477 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/1.124, allocations: 2.496 MB / 1.401 GB, free: 3.973 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.124, allocations: 3.938 kB / 1.401 GB, free: 3.969 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.034e-06/1.124, allocations: 0 / 1.401 GB, free: 3.969 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.79e-05/1.124, allocations: 0 / 1.401 GB, free: 3.969 MB / 1.123 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.005158/1.129, allocations: 1.884 MB / 1.403 GB, free: 2.02 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.129, allocations: 8.031 kB / 1.403 GB, free: 2.012 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/1.132, allocations: 0.5533 MB / 1.403 GB, free: 1.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.134, allocations: 1.008 MB / 1.404 GB, free: 416 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/1.134, allocations: 66 kB / 1.404 GB, free: 352 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/1.135, allocations: 91.91 kB / 1.404 GB, free: 260 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/1.137, allocations: 1.229 MB / 1.405 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.137, allocations: 0 / 1.405 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.138, allocations: 32 kB / 1.405 GB, free: 14.99 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/1.138, allocations: 45.98 kB / 1.406 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/1.141, allocations: 1.526 MB / 1.407 GB, free: 13.41 MB / 1.139 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.00653/1.148, allocations: 4.042 MB / 1.411 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/1.15, allocations: 0.9761 MB / 1.412 GB, free: 8.113 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.152, allocations: 0.6474 MB / 1.413 GB, free: 7.461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.153, allocations: 0.6087 MB / 1.413 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.153, allocations: 47.16 kB / 1.413 GB, free: 6.688 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.153, allocations: 0 / 1.413 GB, free: 6.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.004819/1.158, allocations: 1.781 MB / 1.415 GB, free: 4.898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.158, allocations: 68 kB / 1.415 GB, free: 4.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.159, allocations: 0.8271 MB / 1.416 GB, free: 3.969 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/1.159, allocations: 41.7 kB / 1.416 GB, free: 3.922 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/1.159, allocations: 445.1 kB / 1.416 GB, free: 3.48 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/1.159, allocations: 273.6 kB / 1.417 GB, free: 3.211 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.16, allocations: 154.5 kB / 1.417 GB, free: 3.055 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.16, allocations: 334 kB / 1.417 GB, free: 2.723 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.161, allocations: 0.5277 MB / 1.418 GB, free: 2.191 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.163, allocations: 0.6511 MB / 1.418 GB, free: 1.512 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/1.165, allocations: 1.111 MB / 1.419 GB, free: 392 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/1.165, allocations: 4 kB / 1.419 GB, free: 388 kB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003246/1.169, allocations: 1.326 MB / 1.421 GB, free: 15.04 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.169, allocations: 37.69 kB / 1.421 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.169, allocations: 4.062 kB / 1.421 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.169, allocations: 4 kB / 1.421 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.17, allocations: 251.7 kB / 1.421 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006869/1.171, allocations: 1.188 MB / 1.422 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.172, allocations: 143.6 kB / 1.422 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/1.172, allocations: 39.97 kB / 1.422 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001692/1.174, allocations: 0.7517 MB / 1.423 GB, free: 12.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001425/1.175, allocations: 0.6433 MB / 1.424 GB, free: 11.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002617/1.178, allocations: 1.103 MB / 1.425 GB, free: 10.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/1.178, allocations: 7.938 kB / 1.425 GB, free: 10.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00334/1.181, allocations: 1.322 MB / 1.426 GB, free: 9.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/1.181, allocations: 36.36 kB / 1.426 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.181, allocations: 8.062 kB / 1.426 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.181, allocations: 7.938 kB / 1.426 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.183, allocations: 219.7 kB / 1.426 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.183, allocations: 4 kB / 1.426 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.184, allocations: 131.6 kB / 1.426 GB, free: 9.027 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/1.184, allocations: 39.97 kB / 1.426 GB, free: 8.988 MB / 1.154 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.0002921/1.184, allocations: 220.1 kB / 1.427 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.184, allocations: 115.2 kB / 1.427 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.188, allocations: 1.347 MB / 1.428 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.188, allocations: 3.984 kB / 1.428 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.188, allocations: 4 kB / 1.428 GB, free: 7.289 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/1.189, allocations: 316 kB / 1.428 GB, free: 6.961 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.189, allocations: 12 kB / 1.428 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.19, allocations: 103.9 kB / 1.428 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.19, allocations: 40.59 kB / 1.428 GB, free: 6.809 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00391/1.194, allocations: 1.358 MB / 1.43 GB, free: 5.438 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004934/1.199, allocations: 2.106 MB / 1.432 GB, free: 3.316 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001443/1.2, allocations: 0.5595 MB / 1.432 GB, free: 2.754 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009756/1.201, allocations: 0.5739 MB / 1.433 GB, free: 2.168 MB / 1.154 GB Notification: Performance of Backend: time 1.312e-06/1.201, allocations: 0 / 1.433 GB, free: 2.168 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006268/1.208, allocations: 2.026 MB / 1.435 GB, free: 136 kB / 1.154 GB Notification: Performance of SimCode: time 0.003474/1.211, allocations: 2.303 MB / 1.437 GB, free: 13.77 MB / 1.17 GB Notification: Performance of Templates: time 0.04337/1.254, allocations: 30.1 MB / 1.467 GB, free: 15.88 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches