Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001564/0.001564, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001767/0.001767, 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.84 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.731, allocations: 159.1 MB / 1.221 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.3562/1.087, allocations: 264.2 MB / 1.479 GB, free: 9.32 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02858/1.116, allocations: 21.32 MB / 1.5 GB, free: 3.949 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/1.119, allocations: 87.5 kB / 1.5 GB, free: 3.863 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003487/1.122, allocations: 1.293 MB / 1.501 GB, free: 2.562 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/1.133, allocations: 4.208 MB / 1.505 GB, free: 14.34 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006946/1.14, allocations: 2.761 MB / 1.508 GB, free: 11.58 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02154/1.162, allocations: 17.63 MB / 1.525 GB, free: 9.898 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/1.174, allocations: 8.028 MB / 1.533 GB, free: 1.773 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/1.187, allocations: 6.512 MB / 1.539 GB, free: 11.27 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009251/1.196, allocations: 5.165 MB / 1.544 GB, free: 6.105 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002375/1.199, allocations: 0.8125 MB / 1.545 GB, free: 5.293 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/1.209, allocations: 4.648 MB / 1.55 GB, free: 0.6367 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003351/1.213, allocations: 2.24 MB / 1.552 GB, free: 14.39 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007195/1.22, allocations: 4.128 MB / 1.556 GB, free: 10.24 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.7184/1.938, allocations: 14.01 MB / 1.57 GB, free: 63.64 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.939, allocations: 4.375 kB / 1.57 GB, free: 63.64 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.545e-06/1.939, allocations: 0.5938 kB / 1.57 GB, free: 63.64 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0005332/1.939, allocations: 0 / 1.57 GB, free: 63.64 MB / 1.279 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.02526/1.964, allocations: 7.892 MB / 1.577 GB, free: 60.99 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.964, allocations: 8.953 kB / 1.577 GB, free: 60.99 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/1.974, allocations: 1.415 MB / 1.579 GB, free: 60.64 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/1.988, allocations: 6.325 MB / 1.585 GB, free: 59.68 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/1.988, allocations: 353.2 kB / 1.585 GB, free: 59.67 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/1.99, allocations: 482.8 kB / 1.586 GB, free: 59.67 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/2.004, allocations: 6.882 MB / 1.592 GB, free: 59.26 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/2.004, allocations: 18.88 kB / 1.592 GB, free: 59.25 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/2.005, allocations: 190.6 kB / 1.593 GB, free: 59.25 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/2.005, allocations: 218.7 kB / 1.593 GB, free: 59.24 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/2.015, allocations: 6.137 MB / 1.599 GB, free: 59.2 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.03954/2.055, allocations: 26.9 MB / 1.625 GB, free: 49.04 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/2.06, allocations: 4.062 MB / 1.629 GB, free: 48.52 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/2.063, allocations: 2.502 MB / 1.632 GB, free: 48.48 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009958/2.064, allocations: 1.007 MB / 1.633 GB, free: 47.45 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003031/2.067, allocations: 2.198 MB / 1.635 GB, free: 47.28 MB / 1.279 GB Notification: Performance of pre-optimization done (n=310): time 4.969e-06/2.067, allocations: 0 / 1.635 GB, free: 47.28 MB / 1.279 GB Notification: Performance of matching and sorting (n=314): time 0.0195/2.086, allocations: 11.23 MB / 1.646 GB, free: 45.42 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/2.086, allocations: 140 kB / 1.646 GB, free: 45.29 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/2.093, allocations: 4.681 MB / 1.65 GB, free: 44.96 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000721/2.094, allocations: 88.67 kB / 1.65 GB, free: 44.93 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/2.096, allocations: 2.475 MB / 1.653 GB, free: 44.11 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/2.097, allocations: 1.078 MB / 1.654 GB, free: 43.42 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/2.098, allocations: 0.6491 MB / 1.655 GB, free: 43.38 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/2.098, allocations: 302 kB / 1.655 GB, free: 43.08 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/2.101, allocations: 1.901 MB / 1.657 GB, free: 43.05 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/2.104, allocations: 2.643 MB / 1.659 GB, free: 42.36 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/2.109, allocations: 4.707 MB / 1.664 GB, free: 41.69 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/2.109, allocations: 3.25 kB / 1.664 GB, free: 41.69 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00824/2.118, allocations: 5.289 MB / 1.669 GB, free: 40.73 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/2.118, allocations: 76.81 kB / 1.669 GB, free: 40.66 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/2.118, allocations: 14.47 kB / 1.669 GB, free: 40.66 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/2.118, allocations: 124.5 kB / 1.669 GB, free: 40.63 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/2.121, allocations: 0.7732 MB / 1.67 GB, free: 40.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/2.123, allocations: 2.973 MB / 1.673 GB, free: 38.09 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/2.128, allocations: 259.9 kB / 1.673 GB, free: 38.04 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/2.128, allocations: 130.9 kB / 1.673 GB, free: 38.01 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005602/2.134, allocations: 3.985 MB / 1.677 GB, free: 36.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002989/2.137, allocations: 2.629 MB / 1.68 GB, free: 35.07 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005599/2.142, allocations: 4.69 MB / 1.684 GB, free: 32.79 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-05/2.142, allocations: 7.312 kB / 1.684 GB, free: 32.79 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.008368/2.151, allocations: 5.271 MB / 1.689 GB, free: 30.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/2.151, allocations: 80.95 kB / 1.69 GB, free: 30.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/2.151, allocations: 16.94 kB / 1.69 GB, free: 30.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/2.151, allocations: 124.5 kB / 1.69 GB, free: 30.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/2.154, allocations: 0.7539 MB / 1.69 GB, free: 30.68 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/2.156, allocations: 2.378 MB / 1.693 GB, free: 28.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/2.161, allocations: 274.8 kB / 1.693 GB, free: 28.69 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/2.161, allocations: 131.2 kB / 1.693 GB, free: 28.66 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.001208/2.163, allocations: 456.5 kB / 1.694 GB, free: 28.31 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.164, allocations: 467.3 kB / 1.694 GB, free: 27.89 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007822/2.172, allocations: 4.759 MB / 1.699 GB, free: 23.75 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005072/2.177, allocations: 3.994 MB / 1.703 GB, free: 19.69 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/2.177, allocations: 0 / 1.703 GB, free: 19.69 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/2.18, allocations: 1.075 MB / 1.704 GB, free: 18.59 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/2.182, allocations: 75.98 kB / 1.704 GB, free: 18.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/2.185, allocations: 202 kB / 1.704 GB, free: 18.32 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/2.186, allocations: 178.2 kB / 1.704 GB, free: 18.15 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008357/2.194, allocations: 5.125 MB / 1.709 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009403/2.203, allocations: 7.319 MB / 1.716 GB, free: 5.602 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002223/2.206, allocations: 2.139 MB / 1.718 GB, free: 3.449 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005218/2.211, allocations: 3.305 MB / 1.721 GB, free: 148 kB / 1.279 GB Notification: Performance of Backend: time 5e-07/2.211, allocations: 0 / 1.721 GB, free: 148 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01798/2.229, allocations: 6.865 MB / 1.728 GB, free: 9.488 MB / 1.295 GB Notification: Performance of SimCode: time 0.03023/2.259, allocations: 13.58 MB / 1.741 GB, free: 11.94 MB / 1.311 GB Notification: Performance of Templates: time 0.1924/2.452, allocations: 124.5 MB / 1.863 GB, free: 0.7383 MB / 1.42 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches