Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001868/0.001869, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 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.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 72.09 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7415, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.2709/1.012, allocations: 264.2 MB / 1.425 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02877/1.041, allocations: 21.31 MB / 1.446 GB, free: 5.266 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/1.044, allocations: 91.5 kB / 1.446 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/1.048, allocations: 1.293 MB / 1.448 GB, free: 3.875 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.058, allocations: 4.198 MB / 1.452 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007373/1.065, allocations: 2.772 MB / 1.454 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02224/1.088, allocations: 17.64 MB / 1.472 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/1.099, allocations: 8.032 MB / 1.479 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/1.112, allocations: 6.511 MB / 1.486 GB, free: 12.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009304/1.122, allocations: 5.162 MB / 1.491 GB, free: 7.41 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002376/1.124, allocations: 0.8125 MB / 1.492 GB, free: 6.598 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.135, allocations: 4.644 MB / 1.496 GB, free: 1.945 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00357/1.139, allocations: 2.244 MB / 1.498 GB, free: 15.7 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.008174/1.147, allocations: 4.124 MB / 1.502 GB, free: 11.55 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01959/1.167, allocations: 14.01 MB / 1.516 GB, free: 13.5 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.167, allocations: 4 kB / 1.516 GB, free: 13.5 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.633e-06/1.167, allocations: 4 kB / 1.516 GB, free: 13.5 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003747/1.167, allocations: 0 / 1.516 GB, free: 13.5 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02048/1.188, allocations: 7.896 MB / 1.524 GB, free: 5.5 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.188, allocations: 8.922 kB / 1.524 GB, free: 5.492 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00889/1.197, allocations: 1.413 MB / 1.525 GB, free: 4.07 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/1.209, allocations: 6.326 MB / 1.531 GB, free: 13.66 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/1.21, allocations: 353.1 kB / 1.532 GB, free: 13.31 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001718/1.211, allocations: 483.9 kB / 1.532 GB, free: 12.84 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.225, allocations: 6.877 MB / 1.539 GB, free: 5.832 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/1.225, allocations: 15.94 kB / 1.539 GB, free: 5.816 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005572/1.226, allocations: 192 kB / 1.539 GB, free: 5.629 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/1.226, allocations: 221 kB / 1.539 GB, free: 5.41 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.237, allocations: 6.133 MB / 1.545 GB, free: 15.26 MB / 1.279 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.6839/1.921, allocations: 26.91 MB / 1.572 GB, free: 366.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/1.926, allocations: 4.061 MB / 1.575 GB, free: 364.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/1.93, allocations: 2.504 MB / 1.578 GB, free: 363.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.931, allocations: 1.005 MB / 1.579 GB, free: 362.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/1.934, allocations: 2.19 MB / 1.581 GB, free: 362 MB / 1.279 GB Notification: Performance of pre-optimization done (n=310): time 5.981e-06/1.934, allocations: 5.062 kB / 1.581 GB, free: 362 MB / 1.279 GB Notification: Performance of matching and sorting (n=314): time 0.01918/1.953, allocations: 11.23 MB / 1.592 GB, free: 356.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.953, allocations: 145.2 kB / 1.592 GB, free: 356.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006648/1.96, allocations: 4.67 MB / 1.597 GB, free: 351.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007269/1.96, allocations: 89.7 kB / 1.597 GB, free: 351.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.962, allocations: 2.482 MB / 1.599 GB, free: 349 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.964, allocations: 1.076 MB / 1.6 GB, free: 348 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/1.965, allocations: 0.652 MB / 1.601 GB, free: 347.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/1.965, allocations: 301.1 kB / 1.601 GB, free: 347 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.968, allocations: 1.902 MB / 1.603 GB, free: 345.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/1.971, allocations: 2.637 MB / 1.606 GB, free: 342.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/1.977, allocations: 4.7 MB / 1.61 GB, free: 337.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.977, allocations: 4 kB / 1.61 GB, free: 337.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008371/1.985, allocations: 5.301 MB / 1.615 GB, free: 332 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/1.985, allocations: 75.39 kB / 1.615 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.985, allocations: 12 kB / 1.616 GB, free: 331.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/1.986, allocations: 128.6 kB / 1.616 GB, free: 331.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/1.989, allocations: 0.7632 MB / 1.616 GB, free: 331.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.991, allocations: 2.99 MB / 1.619 GB, free: 327.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.996, allocations: 259.2 kB / 1.62 GB, free: 327.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004495/1.996, allocations: 132 kB / 1.62 GB, free: 327.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005734/2.002, allocations: 3.98 MB / 1.624 GB, free: 323.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003183/2.005, allocations: 2.637 MB / 1.626 GB, free: 320.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005841/2.011, allocations: 4.68 MB / 1.631 GB, free: 315.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.7e-05/2.011, allocations: 4 kB / 1.631 GB, free: 315.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.008294/2.019, allocations: 5.283 MB / 1.636 GB, free: 310.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/2.019, allocations: 75.33 kB / 1.636 GB, free: 310.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/2.019, allocations: 16 kB / 1.636 GB, free: 310.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/2.02, allocations: 127.8 kB / 1.636 GB, free: 310.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/2.023, allocations: 0.7487 MB / 1.637 GB, free: 309.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/2.025, allocations: 2.37 MB / 1.639 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/2.029, allocations: 280.2 kB / 1.639 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/2.029, allocations: 131.8 kB / 1.64 GB, free: 306.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 405 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008992/2.03, allocations: 451.1 kB / 1.64 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/2.032, allocations: 462.5 kB / 1.64 GB, free: 305.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/2.039, allocations: 4.759 MB / 1.645 GB, free: 300.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005159/2.045, allocations: 4.007 MB / 1.649 GB, free: 296.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/2.045, allocations: 0 / 1.649 GB, free: 296.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/2.048, allocations: 1.077 MB / 1.65 GB, free: 295.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/2.049, allocations: 75.97 kB / 1.65 GB, free: 295.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/2.052, allocations: 204.8 kB / 1.65 GB, free: 295.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/2.053, allocations: 174.2 kB / 1.65 GB, free: 295.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008276/2.061, allocations: 5.115 MB / 1.655 GB, free: 290.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009066/2.07, allocations: 7.325 MB / 1.663 GB, free: 282.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002237/2.072, allocations: 2.146 MB / 1.665 GB, free: 280.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005191/2.077, allocations: 3.303 MB / 1.668 GB, free: 277.3 MB / 1.279 GB Notification: Performance of Backend: time 8.82e-07/2.077, allocations: 0 / 1.668 GB, free: 277.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01322/2.091, allocations: 6.873 MB / 1.675 GB, free: 270.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.02517/2.116, allocations: 13.58 MB / 1.688 GB, free: 257 MB / 1.279 GB Notification: Performance of Templates: time 0.1529/2.269, allocations: 124.5 MB / 1.809 GB, free: 133.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches